summaryrefslogtreecommitdiff
path: root/modules/core/cs_ban.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-14 12:44:34 -0500
committerAdam <Adam@anope.org>2010-11-14 12:44:34 -0500
commit4415a779a3ff690e800198b27a16a80a630b1e3d (patch)
treef68591e214c7e67254f28e7b04c25bc587f72a25 /modules/core/cs_ban.cpp
parent8662b0989ed9725b13be203b40836a96c894f733 (diff)
Fixed ban and kick from showing up twice in /cs help
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);
}
};