summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/chanserv.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-08 20:58:47 -0400
committerAdam <Adam@anope.org>2012-10-08 20:58:47 -0400
commit3af786d4c97e8ee99ea122a5c058d82e6222f295 (patch)
tree750c5de0ec2c001b6366fd5137478e6944cdc296 /modules/pseudoclients/chanserv.cpp
parente57b470e83fac205a354138b1daccec654214e39 (diff)
Fix fantasy !help & give it its own help header, not ChanServ's
Diffstat (limited to 'modules/pseudoclients/chanserv.cpp')
-rw-r--r--modules/pseudoclients/chanserv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp
index 181baa7b8..c3a6e6479 100644
--- a/modules/pseudoclients/chanserv.cpp
+++ b/modules/pseudoclients/chanserv.cpp
@@ -151,7 +151,7 @@ class ChanServCore : public Module
EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- if (!params.empty() || source.owner->nick != Config->ChanServ)
+ if (!params.empty() || source.c || source.service->nick != Config->ChanServ)
return EVENT_CONTINUE;
source.Reply(_("\002%s\002 allows you to register and control various\n"
"aspects of channels. %s can often prevent\n"
@@ -166,7 +166,7 @@ class ChanServCore : public Module
void OnPostHelp(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- if (!params.empty() || source.owner->nick != Config->ChanServ)
+ if (!params.empty() || source.c || source.service->nick != Config->ChanServ)
return;
if (Config->CSExpire >= 86400)
source.Reply(_(" \n"