summaryrefslogtreecommitdiff
path: root/src/protocol/bahamut.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
commitbc9e96d6eb004eb86ff1b0709fe2050bd8df3b69 (patch)
tree582ebd30946ad66eff857da27ad01a2011d101bc /src/protocol/bahamut.c
parentac05ac3857b8c3ccd8a6ea2444c738c954668ee2 (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/bahamut.c')
-rw-r--r--src/protocol/bahamut.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 1d0a8ac90..767450a43 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -1021,12 +1021,10 @@ int anope_event_motd(const char *source, int ac, const char **av)
return MOD_CONT;
}
-void bahamut_cmd_notice_ops(const char *source, const char *dest, const char *buf)
+void BahamutIRCdProto::cmd_notice_ops(const char *source, const char *dest, const char *buf)
{
- if (!buf) {
- return;
- }
- send_cmd(NULL, "NOTICE @%s :%s", dest, buf);
+ if (!buf) return;
+ send_cmd(NULL, "NOTICE @%s :%s", dest, buf);
}
/* NOTICE */
@@ -1527,7 +1525,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_372_error(bahamut_cmd_372_error);
pmodule_cmd_375(bahamut_cmd_375);
pmodule_cmd_376(bahamut_cmd_376);
- pmodule_cmd_notice_ops(bahamut_cmd_notice_ops);
pmodule_cmd_notice(bahamut_cmd_notice);
pmodule_cmd_notice2(bahamut_cmd_notice2);
pmodule_cmd_privmsg(bahamut_cmd_privmsg);