diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-10-19 02:09:30 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-11-19 18:32:39 +0100 |
commit | 5c20fd57ec1913dc787b7c620bb4032851dd0d64 (patch) | |
tree | fb675039a80f3f30e2657612c7a0807b7cb31932 /src/modules/m_timedbans.cpp | |
parent | 81d7a5b538737cd568c30e158b408721ef1824c2 (diff) |
Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()
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; |