1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 08:03:14 +02:00

Added cmd_notice() function to IRCDProtoNew class. (Replaces cmd_notice2)

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1229 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:11 +00:00
parent efb458a927
commit 6fa5553b4b
15 changed files with 25 additions and 69 deletions
+2 -9
View File
@@ -50,7 +50,6 @@ void initIrcdProto()
ircdproto.ircd_cmd_372_error = NULL;
ircdproto.ircd_cmd_375 = NULL;
ircdproto.ircd_cmd_376 = NULL;
ircdproto.ircd_cmd_notice2 = NULL;
ircdproto.ircd_cmd_serv_notice = NULL;
ircdproto.ircd_cmd_serv_privmsg = NULL;
ircdproto.ircd_cmd_bot_chan_mode = NULL;
@@ -245,9 +244,9 @@ void anope_cmd_message(const char *source, const char *dest, const char *fmt, ..
ircdprotonew->cmd_message(source, dest, buf);
}
void anope_cmd_notice2(const char *source, const char *dest, const char *msg)
void anope_cmd_notice(const char *source, const char *dest, const char *msg)
{
ircdproto.ircd_cmd_notice2(source, dest, msg);
ircdprotonew->cmd_notice(source, dest, msg);
}
void anope_cmd_action(const char *source, const char *dest, const char *fmt, ...)
@@ -662,12 +661,6 @@ void pmodule_cmd_376(void (*func) (const char *source))
ircdproto.ircd_cmd_376 = func;
}
void
pmodule_cmd_notice2(void (*func) (const char *source, const char *dest, const char *msg))
{
ircdproto.ircd_cmd_notice2 = func;
}
void
pmodule_cmd_serv_notice(void (*func) (const char *source, const char *dest, const char *msg))
{