summaryrefslogtreecommitdiff
path: root/modules/core/cs_ban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/cs_ban.cpp')
-rw-r--r--modules/core/cs_ban.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/cs_ban.cpp b/modules/core/cs_ban.cpp
index 69feaed5b..dd2f9be8d 100644
--- a/modules/core/cs_ban.cpp
+++ b/modules/core/cs_ban.cpp
@@ -89,7 +89,8 @@ class CommandCSBan : public Command
void OnServHelp(User *u)
{
- u->SendMessage(ChanServ, CHAN_HELP_CMD_BAN);
+ if (this->name.equals_ci("BAN"))
+ u->SendMessage(ChanServ, CHAN_HELP_CMD_BAN);
}
};