first chatcleaner steps (simple badword and textflood check works on port 7777)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef BADWORDCHECK_H
|
||||
#define BADWORDCHECK_H
|
||||
|
||||
#include <QtCore>
|
||||
|
||||
class BadWordCheck: public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
BadWordCheck();
|
||||
|
||||
bool run(QString);
|
||||
private:
|
||||
|
||||
QStringList badWords;
|
||||
};
|
||||
|
||||
#endif // BADWORDCHECK_H
|
||||
Reference in New Issue
Block a user