diff options
Diffstat (limited to 'src/cull_list.cpp')
| -rw-r--r-- | src/cull_list.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp index e6b105925..bfa37e51a 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -40,7 +40,6 @@ using namespace std; #include "cull_list.h" extern InspIRCd* ServerInstance; -extern user_hash clientlist; /* * In current implementation of CullList, this isn't used. It did odd things with a lot of sockets. @@ -52,7 +51,7 @@ bool CullList::IsValid(userrec* user) if (es != exempt.end()) esignon = es->second; - for (user_hash::iterator u = clientlist.begin(); u != clientlist.end(); u++) + for (user_hash::iterator u = ServerInstance->clientlist.begin(); u != ServerInstance->clientlist.end(); u++) { /* * BUGFIX |
