mirror of
https://github.com/anope/anope.git
synced 2026-07-07 08:33:12 +02:00
Patch from DukePyrolator to include an OnUserNickChange() event to replace EVENT_CHANGE_NICK, also patch from me to have the ratbox protocol module send account data on login and logout.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2254 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -699,13 +699,12 @@ class InspIRCdProto : public IRCDProto
|
||||
}
|
||||
}
|
||||
|
||||
void SendAccountLogin(User *u, NickCore *account)
|
||||
void SendAccountLogin(User *u, NickCore *account)
|
||||
{
|
||||
send_cmd(TS6SID, "METADATA %s accountname :%s", u->GetUID().c_str(), account->display);
|
||||
|
||||
}
|
||||
|
||||
void SendAccountLogout(User *u, NickCore *account)
|
||||
void SendAccountLogout(User *u, NickCore *account)
|
||||
{
|
||||
send_cmd(TS6SID, "METADATA %s accountname :", u->GetUID().c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user