mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
Fix for w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6166 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
dd295f72ee
commit
35c93cd6a5
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user