summaryrefslogtreecommitdiff
path: root/src/modules/hs_request.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/hs_request.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/hs_request.c')
-rw-r--r--src/modules/hs_request.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 4d01ee93d..85cf9e21a 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -187,7 +187,7 @@ class CommandHSRequest : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
me->NoticeLang(Config.s_HostServ, u, LNG_REQUEST_SYNTAX);
- ircdproto->SendMessage(findbot(Config.s_HostServ), u->nick, " ");
+ u->SendMessage(Config.s_HostServ, " ");
me->NoticeLang(Config.s_HostServ, u, LNG_HELP_REQUEST);
return true;
@@ -250,7 +250,7 @@ class CommandHSActivate : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
me->NoticeLang(Config.s_HostServ, u, LNG_ACTIVATE_SYNTAX);
- ircdproto->SendMessage(findbot(Config.s_HostServ), u->nick, " ");
+ u->SendMessage(Config.s_HostServ, " ");
me->NoticeLang(Config.s_HostServ, u, LNG_HELP_ACTIVATE);
if (HSRequestMemoUser)
me->NoticeLang(Config.s_HostServ, u, LNG_HELP_ACTIVATE_MEMO);
@@ -313,7 +313,7 @@ class CommandHSReject : public Command
bool OnHelp(User *u, const ci::string &subcommand)
{
me->NoticeLang(Config.s_HostServ, u, LNG_REJECT_SYNTAX);
- ircdproto->SendMessage(findbot(Config.s_HostServ), u->nick, " ");
+ u->SendMessage(Config.s_HostServ, " ");
me->NoticeLang(Config.s_HostServ, u, LNG_HELP_REJECT);
if (HSRequestMemoUser)
me->NoticeLang(Config.s_HostServ, u, LNG_HELP_REJECT_MEMO);
@@ -391,7 +391,7 @@ class CommandHSWaiting : public HSListBase
bool OnHelp(User *u, const ci::string &subcommand)
{
me->NoticeLang(Config.s_HostServ, u, LNG_WAITING_SYNTAX);
- ircdproto->SendMessage(findbot(Config.s_HostServ), u->nick, " ");
+ u->SendMessage(Config.s_HostServ, " ");
me->NoticeLang(Config.s_HostServ, u, LNG_HELP_WAITING);
return true;