diff options
Diffstat (limited to 'include/services.h')
-rw-r--r-- | include/services.h | 5 |
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); + } }; /*************************************************************************/ |