diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | bc9e96d6eb004eb86ff1b0709fe2050bd8df3b69 (patch) | |
tree | 582ebd30946ad66eff857da27ad01a2011d101bc /src/protocol/inspircd11.c | |
parent | ac05ac3857b8c3ccd8a6ea2444c738c954668ee2 (diff) |
Added cmd_notice_ops() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1221 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/inspircd11.c')
-rw-r--r-- | src/protocol/inspircd11.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 8f9e3cdfa..5fe853f7f 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -773,13 +773,10 @@ void InspIRCdProto::cmd_kick(const char *source, const char *chan, const char *u else send_cmd(source, "KICK %s %s :%s", chan, user, user); } -void inspircd_cmd_notice_ops(const char *source, const char *dest, const char *buf) +void InspIRCdProto::cmd_notice_ops(const char *source, const char *dest, const char *buf) { - if (!buf) { - return; - } - - send_cmd(ServerName, "NOTICE @%s :%s", dest, buf); + if (!buf) return; + send_cmd(ServerName, "NOTICE @%s :%s", dest, buf); } @@ -1775,7 +1772,6 @@ void moduleAddAnopeCmds() pmodule_cmd_372_error(inspircd_cmd_372_error); pmodule_cmd_375(inspircd_cmd_375); pmodule_cmd_376(inspircd_cmd_376); - pmodule_cmd_notice_ops(inspircd_cmd_notice_ops); pmodule_cmd_notice(inspircd_cmd_notice); pmodule_cmd_notice2(inspircd_cmd_notice2); pmodule_cmd_privmsg(inspircd_cmd_privmsg); |