1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 05:06:38 +02:00

Hack making enforcers work for now, NOTE: it is MARK_DEPRECATED. Use it in new code and I will kill you.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1377 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-10-02 23:21:03 +00:00
parent ed5c208488
commit a95e4f7fce
+10
View File
@@ -1362,6 +1362,16 @@ class IRCDProto {
send_cmd(UseTS6 ? bi->uid : bi->nick, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest, msg);
}
virtual void SendBotOp(const char *, const char *) = 0;
/** XXX: This is a hack for NickServ enforcers. It is deprecated.
* If I catch any developer using this in new code, I will RIP YOUR BALLS OFF.
* Thanks.
* -- w00t
*/
virtual void SendQuit(const char *nick, const char *buf) MARK_DEPRECATED
{
send_cmd(nick, "QUIT");
}
virtual void SendQuit(BotInfo *bi, const char *fmt, ...)
{
va_list args;