diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-03 21:16:33 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-03 21:16:33 +0000 |
| commit | 2dba060c6a8a290921441ada1586ab43157be893 (patch) | |
| tree | 991892fd67573b3d65cccd8cd8305a5269191443 /src/protocol/inspircd12.cpp | |
| parent | a7316c17706bccf75ec1150ee3b318410acffbed (diff) | |
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
Diffstat (limited to 'src/protocol/inspircd12.cpp')
| -rw-r--r-- | src/protocol/inspircd12.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index df7c1220b..8e9f88845 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -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()); } |
