From bd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 08:37:14 +0000 Subject: Global NOTICE/PRIVMSG, QUIT. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1305 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 6 +++--- include/services.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index a242a5b4f..8a48bf69f 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1138,15 +1138,15 @@ E void anope_SendGuestNick(const char *nick, const char *user,const char *host,c E void anope_cmd_message(const char *source, const char *dest, const char *fmt, ...); /* NOTICE */ E void anope_SendNoticeChanops(const char *source, const char *dest, const char *fmt, ...); /* NOTICE */ E void anope_cmd_notice(const char *source, const char *dest, const char *msg); /* NOTICE */ -E void anope_cmd_serv_notice(const char *source, const char *dest, const char *msg); /* NOTICE */ +E void anope_SendGlobalNotice(const char *source, const char *dest, const char *msg); /* NOTICE */ E void anope_cmd_part(const char *nick, const char *chan, const char *fmt, ...); /* PART */ E void anope_cmd_pass(const char *pass); /* PASS */ E void anope_cmd_pong(const char *servname, const char *who); /* PONG */ E void anope_cmd_privmsg(const char *source, const char *dest, const char *fmt, ...); /* PRIVMSG */ E void anope_cmd_action(const char *source, const char *dest, const char *fmt, ...); /* PRIVMSG */ -E void anope_cmd_serv_privmsg(const char *source, const char *dest, const char *msg); /* PRIVMSG */ +E void anope_SendGlobalPrivmsg(const char *source, const char *dest, const char *msg); /* PRIVMSG */ E void anope_cmd_protoctl(); /* PROTOCTL */ -E void anope_cmd_quit(const char *source, const char *fmt, ...); /* QUIT */ +E void anope_SendQuit(const char *source, const char *fmt, ...); /* QUIT */ E void anope_SendAkillDel(const char *user, const char *host); /* RAKILL */ E void anope_cmd_sgline(const char *mask, const char *reason); /* SGLINE */ E void anope_cmd_sqline(const char *mask, const char *reason); /* SQLINE */ diff --git a/include/services.h b/include/services.h index 49a05f1c0..f6feee436 100644 --- a/include/services.h +++ b/include/services.h @@ -1259,16 +1259,16 @@ class IRCDProto { if (!buf || !dest) return; send_cmd(source, "PRIVMSG %s :%s", dest, buf); } - virtual void cmd_serv_notice(const char *source, const char *dest, const char *msg) + virtual void SendGlobalNotice(const char *source, const char *dest, const char *msg) { 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) + virtual void SendGlobalPrivmsg(const char *source, const char *dest, const char *msg) { send_cmd(source, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest, msg); } virtual void SendBotOp(const char *, const char *) = 0; - virtual void cmd_quit(const char *source, const char *buf) + virtual void SendQuit(const char *source, const char *buf) { if (buf) send_cmd(source, "QUIT :%s", buf); else send_cmd(source, "QUIT"); -- cgit