]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
So much stuff changed in this one, i forgot most of it.
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index f8d84154efbff09ae0b94ee766ebd6a35ccbcb9c..180a989c950eeed9414e4cc9e7c2f8a69f97a764 100644 (file)
@@ -19,7 +19,6 @@ using namespace std;
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
-#include "message.h"
 #include "commands.h"
 #include "inspircd.h"
 #include "helperfuncs.h"
@@ -127,7 +126,7 @@ class cmd_check : public command_t
                                char list[MAXBUF];
                                char tmpbuf[MAXBUF];
                                char* ptr = list;
-                               int flags = cflags(i->second, targchan);
+                               int flags = targchan->GetStatusFlags(i->second);
                                /*
                                 * find how many connections from this user's IP -- unlike Asuka,
                                 * I define a clone as coming from the same host. --w00t