diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/cs_appendtopic.c | 2 | ||||
-rw-r--r-- | src/modules/cs_enforce.c | 4 | ||||
-rw-r--r-- | src/modules/hs_request.c | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c index 324a660ae..5a0194a42 100644 --- a/src/modules/cs_appendtopic.c +++ b/src/modules/cs_appendtopic.c @@ -118,7 +118,7 @@ class CommandCSAppendTopic : public Command bool OnHelp(User *u, const ci::string &subcommand) { me->NoticeLang(Config.s_ChanServ, u, LNG_APPENDTOPIC_SYNTAX); - ircdproto->SendMessage(findbot(Config.s_ChanServ), u->nick, " "); + u->SendMessage(Config.s_ChanServ, " "); me->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP_APPENDTOPIC); return true; 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 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; |