summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-29 23:57:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-29 23:57:38 +0000
commit35c93cd6a5ab9813087da3f63b67b908e65ae73a (patch)
tree1275b679acb6b22194d04df7b12f46ac69b2937f
parentdd295f72eee7ca0d364be1886891a86a89c5f907 (diff)
Fix for w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6166 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 84cc52df5..ff6d6035a 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -310,7 +310,7 @@ int InspIRCd::RegisteredUserCount()
int InspIRCd::ModeCount(const char mode)
{
- ModeHandler* mh = this->Modes->GetHandler(mode, MODETYPE_USER);
+ ModeHandler* mh = this->Modes->FindMode(mode, MODETYPE_USER);
if (mh)
return mh->GetCount();