summaryrefslogtreecommitdiff
path: root/include/services.h
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
commita3d2bc65e2ea2327966257d6170f46b0f7f611f3 (patch)
treedd08d9cb3c15db68f32dc3663a4f6721aa0bdebf /include/services.h
parentc4d520b465f8aa7f5924b17b697fa760b6ead409 (diff)
Added cmd_serv_privmsg() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1233 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/services.h b/include/services.h
index 8e3ee7611..c60d6cbd0 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1060,7 +1060,6 @@ typedef struct ircd_proto_ {
void (*ircd_cmd_372_error)(const char *source);
void (*ircd_cmd_375)(const char *source);
void (*ircd_cmd_376)(const char *source);
- void (*ircd_cmd_serv_privmsg)(const char *source, const char *dest, const char *msg);
void (*ircd_cmd_bot_chan_mode)(const char *nick, const char *chan);
void (*ircd_cmd_351)(const char *source);
void (*ircd_cmd_quit)(const char *source, const char *buf);
@@ -1323,6 +1322,10 @@ class IRCDProtoNew {
{
send_cmd(source, "NOTICE %s%s :%s", ircd->globaltldprefix, dest, msg);
}
+ virtual void cmd_serv_privmsg(const char *source, const char *dest, const char *msg)
+ {
+ send_cmd(source, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest, msg);
+ }
};
/*************************************************************************/