From a0925f2d4c866d16f03f9e7e44654bad737b2090 Mon Sep 17 00:00:00 2001 From: rburchell Date: Sat, 7 Feb 2009 21:58:27 +0000 Subject: Add the capability to (properly) send login/logout account messages, used for InspIRCd at present, others are possible in the future (ircu etc). NOTE: This currently doesn't trigger on DROP, which is probably a bad thing. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1944 5417fbe8-f217-4b02-8779-1006273d7864 --- include/services.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include') diff --git a/include/services.h b/include/services.h index 57eda94d2..46e21728b 100644 --- a/include/services.h +++ b/include/services.h @@ -1500,6 +1500,18 @@ private: va_end(args); SendNumericInternal(source, numeric, dest, *buf ? buf : NULL); } + + /** Sends a message logging a user into an account, where ircds support such a feature. + * @param u The user logging in + * @param account The account the user is logging into + */ + virtual void SendAccountLogin(User *u, NickCore *account) { } + + /** Sends a message logging a user out of an account, where ircds support such a feature. + * @param u The user logging out + * @param account The account the user is logging out of + */ + virtual void SendAccountLogout(User *u, NickCore *account) { } }; class IRCDTS6Proto : public IRCDProto -- cgit