From 1cbf29e3cd070c12437a657b47fc433008b2c74d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 16:35:24 +0000 Subject: Move clientlist and chanlist into InspIRCd* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_who.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cmd_who.cpp') diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index 0a6637242..de3f30196 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -24,7 +24,6 @@ #include "commands/cmd_who.h" extern InspIRCd* ServerInstance; -extern user_hash clientlist; extern chan_hash chanlist; extern std::vector all_opers; @@ -196,7 +195,7 @@ void cmd_who::Handle (const char** parameters, int pcnt, userrec *user) } else { - 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 (whomatch(i->second, matchtext, opt_realname, opt_showrealhost)) { -- cgit v1.2.3