diff options
Diffstat (limited to 'src/cmd_trace.cpp')
-rw-r--r-- | src/cmd_trace.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd_trace.cpp b/src/cmd_trace.cpp index ea07ee258..26a94f7a0 100644 --- a/src/cmd_trace.cpp +++ b/src/cmd_trace.cpp @@ -17,13 +17,14 @@ #include "users.h" #include "commands.h" #include "helperfuncs.h" +#include "inspircd.h" #include "commands/cmd_trace.h" -extern user_hash clientlist; +extern InspIRCd* ServerInstance; void cmd_trace::Handle (const char** parameters, int pcnt, userrec *user) { - for (user_hash::iterator i = clientlist.begin(); i != clientlist.end(); i++) + for (user_hash::iterator i = ServerInstance->clientlist.begin(); i != ServerInstance->clientlist.end(); i++) { if (i->second) { |