summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 21:43:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 21:43:34 +0000
commitb271a67bb629c5432719235d4f4aadfa5cddca78 (patch)
treeedffbe86f51ac9d01d8201925e62082edafe235b
parent597fabb9dccc8fa963e819182ca3303590fd2d3c (diff)
Changed userlist to clientlist in UnloadModule
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2262 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 75c0833fc..28f9541dd 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2189,7 +2189,7 @@ bool UnloadModule(const char* filename)
{
modules[j]->OnCleanup(TYPE_CHANNEL,c->second);
}
- for (user_hash::iterator u = userlist.begin(); u != userlist.end(); u++)
+ for (user_hash::iterator u = clientlist.begin(); u != clientlist.end(); u++)
{
modules[j]->OnCleanup(TYPE_USER,u->second);
}