summaryrefslogtreecommitdiff
path: root/src/modules/cs_enforce.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-22 23:59:06 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-22 23:59:06 +0000
commitf82640af7cc534f284914e12233098c4882a484d (patch)
tree796932a6286791229a93829879554c386370e38f /src/modules/cs_enforce.c
parent77f0cd0c46fd318acfbb281407c06f0af755702a (diff)
Fixed bug #1119 - Fixed a few help replies to respect the nickserv msg option when sending blank lines
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2714 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/cs_enforce.c')
-rw-r--r--src/modules/cs_enforce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/cs_enforce.c b/src/modules/cs_enforce.c
index 2bf692233..55cc6f5a3 100644
--- a/src/modules/cs_enforce.c
+++ b/src/modules/cs_enforce.c
@@ -227,9 +227,9 @@ class CommandCSEnforce : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
me->NoticeLang(Config.s_ChanServ, u, LNG_ENFORCE_SYNTAX);
- ircdproto->SendMessage(findbot(Config.s_ChanServ), u->nick, " ");
+ u->SendMessage(Config.s_ChanServ, " ");
me->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP_ENFORCE);
- ircdproto->SendMessage(findbot(Config.s_ChanServ), u->nick, " ");
+ u->SendMessage(Config.s_ChanServ, " ");
if (ModeManager::FindChannelModeByName(CMODE_REGISTERED))
me->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP_ENFORCE_R_ENABLED);
else