]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_ison.cpp
Spotted problem: must clear out all prefixes attached to a user when they quit or...
[user/henk/code/inspircd.git] / src / cmd_ison.cpp
index 0b0ec24a50d262a37e665e4f5e9e35293c20df9a..5500334ce709228251647b3f25691b2287ef8b99 100644 (file)
 #include "ctables.h"
 #include "users.h"
 #include "commands.h"
-#include "helperfuncs.h"
+
+#include "inspircd.h"
 #include "commands/cmd_ison.h"
 
+
+
 void cmd_ison::Handle (const char** parameters, int pcnt, userrec *user)
 {
        char retbuf[MAXBUF];
@@ -30,7 +33,7 @@ void cmd_ison::Handle (const char** parameters, int pcnt, userrec *user)
 
        for (int i = 0; i < pcnt; i++)
        {
-               u = Find(parameters[i]);
+               u = ServerInstance->FindNick(parameters[i]);
 
                if (u)
                {