diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 21:39:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 21:39:57 +0000 |
commit | 24b1fbeec8e61e9636daaf606778c324d3ae3042 (patch) | |
tree | 2eb9d1892dc0d35a969ac9ec3c3c8a6189ef3192 /src/cmd_who.cpp | |
parent | d02a5866d4fdedec9219aeca0a6048828b394fd2 (diff) |
Move all_opers into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_who.cpp')
-rw-r--r-- | src/cmd_who.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index 7601a1069..e5b6c60cd 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -23,8 +23,6 @@ #include "commands/cmd_who.h" extern InspIRCd* ServerInstance; -extern chan_hash chanlist; -extern std::vector<userrec*> all_opers; /* get the last 'visible' chan of a user */ static char *getlastchanname(userrec *u) @@ -160,7 +158,7 @@ void cmd_who::Handle (const char** parameters, int pcnt, userrec *user) if (opt_viewopersonly) { /* Showing only opers */ - for (std::vector<userrec*>::iterator i = all_opers.begin(); i != all_opers.end(); i++) + for (std::vector<userrec*>::iterator i = ServerInstance->all_opers.begin(); i != ServerInstance->all_opers.end(); i++) { userrec* oper = *i; |