1
0
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:
cyberbotx
2009-04-03 21:16:33 +00:00
parent a7316c1770
commit 2dba060c6a
4 changed files with 24 additions and 6 deletions
+2 -3
View File
@@ -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());
}