diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | include/services.h | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h index 54e9134e8..6e56befe4 100644 --- a/include/extern.h +++ b/include/extern.h @@ -610,7 +610,6 @@ E void pmodule_cmd_372(void (*func) (const char *source, const char *msg)); E void pmodule_cmd_372_error(void (*func) (const char *source)); E void pmodule_cmd_375(void (*func) (const char *source)); E void pmodule_cmd_376(void (*func) (const char *source)); -E void pmodule_cmd_serv_privmsg(void (*func) (const char *source, const char *dest, const char *msg)); E void pmodule_cmd_bot_chan_mode(void (*func) (const char *nick, const char *chan)); E void pmodule_cmd_351(void (*func) (const char *source)); E void pmodule_cmd_quit(void (*func) (const char *source, const char *buf)); 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); + } }; /*************************************************************************/ |