diff options
Diffstat (limited to 'src/cmd_ison.cpp')
-rw-r--r-- | src/cmd_ison.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd_ison.cpp b/src/cmd_ison.cpp index 0b0ec24a5..1fefeab1c 100644 --- a/src/cmd_ison.cpp +++ b/src/cmd_ison.cpp @@ -19,8 +19,11 @@ #include "users.h" #include "commands.h" #include "helperfuncs.h" +#include "inspircd.h" #include "commands/cmd_ison.h" +extern InspIRCd* ServerInstance; + 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) { |