diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:21:03 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 23:21:03 +0000 |
commit | a95e4f7fceac0eb4ec6d8394c3f64f5b97bd8cb5 (patch) | |
tree | 76eaea050b6b818b30873b770eb320d667f3b63f | |
parent | ed5c208488aaebda407884e6bac16332d1c28e22 (diff) |
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
-rw-r--r-- | include/services.h | 10 |
1 files changed, 10 insertions, 0 deletions
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; |