From a95e4f7fceac0eb4ec6d8394c3f64f5b97bd8cb5 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 2 Oct 2008 23:21:03 +0000 Subject: [PATCH] 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 --- include/services.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/services.h b/include/services.h index 9d7a7aa06..7b20c8b13 100644 --- a/include/services.h +++ b/include/services.h @@ -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;