diff options
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r-- | src/modules/m_timedbans.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 6b12a5aaf..472e79ca4 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -82,9 +82,9 @@ class CommandTban : public Command setban.push_back(parameters[0]); setban.push_back("+b"); setban.push_back(parameters[2]); - // use CallCommandHandler to make it so that the user sets the mode + // use CallHandler to make it so that the user sets the mode // themselves - ServerInstance->CallCommandHandler("MODE",setban,user); + ServerInstance->Parser->CallHandler("MODE",setban,user); for (BanList::iterator i = channel->bans.begin(); i != channel->bans.end(); i++) if (!strcasecmp(i->data.c_str(), mask.c_str())) goto found; |