Fix for w00t

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6166 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-12-29 23:57:38 +00:00
parent dd295f72ee
commit 35c93cd6a5

View File

@ -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();