diff options
| author | 2006-08-09 16:35:24 +0000 | |
|---|---|---|
| committer | 2006-08-09 16:35:24 +0000 | |
| commit | 1cbf29e3cd070c12437a657b47fc433008b2c74d (patch) | |
| tree | 22b7a435ffd8bfa7dd97f2457b73df564753eddc /src/cmd_who.cpp | |
| parent | Move fd_ref_table into class InspIRCd* (diff) | |
| download | inspircd++-1cbf29e3cd070c12437a657b47fc433008b2c74d.tar.gz inspircd++-1cbf29e3cd070c12437a657b47fc433008b2c74d.tar.bz2 inspircd++-1cbf29e3cd070c12437a657b47fc433008b2c74d.zip | |
Move clientlist and chanlist into InspIRCd*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_who.cpp')
| -rw-r--r-- | src/cmd_who.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<userrec*> 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)) { |
