1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 14:26:37 +02:00

Fixed bug #1180 - Fixed tracking of internal clients when they change nicks on TS6 IRCds

This commit is contained in:
Adam
2010-08-05 23:18:36 -04:00
parent 3308ab7153
commit 94f7962e1a
6 changed files with 23 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ Anope Version 1.8 - SVN
06/24 F Fixed pseudo-client kills not being detected on some TS6 IRCDs. [ #00]
07/01 F Fixed encrypting very long passwords when registering [#1172]
08/03 F Fixed tracking users vhosts when there is no vhost mode [#1178]
08/05 F Fixed tracking of our clients after nick changing on InspIRCd [#1180]
Anope Version 1.8.4
-------------------
+6
View File
@@ -1692,10 +1692,16 @@ void charybdis_cmd_svid_umode3(User * u, char *ts)
/* NICK <newnick> */
void charybdis_cmd_chg_nick(char *oldnick, char *newnick)
{
Uid *ud;
if (!oldnick || !newnick) {
return;
}
ud = find_uid(oldnick);
if (ud)
strscpy(ud->nick, newnick, NICKMAX);
send_cmd(oldnick, "NICK %s", newnick);
}
+2
View File
@@ -1309,6 +1309,8 @@ void inspircd_cmd_chg_nick(char *oldnick, char *newnick)
if (!ud)
ud = find_uid(newnick);
if (ud)
strscpy(ud->nick, newnick, NICKMAX);
send_cmd(ud ? ud->uid : oldnick, "NICK %s %ld", newnick, time(NULL));
}
+6
View File
@@ -1621,10 +1621,16 @@ void ratbox_cmd_svid_umode3(User * u, char *ts)
/* NICK <newnick> */
void ratbox_cmd_chg_nick(char *oldnick, char *newnick)
{
Uid *ud;
if (!oldnick || !newnick) {
return;
}
ud = find_uid(oldnick);
if (ud)
strscpy(ud->nick, newnick, NICKMAX);
send_cmd(oldnick, "NICK %s", newnick);
}
+6
View File
@@ -1567,10 +1567,16 @@ void shadowircd_cmd_svid_umode3(User * u, char *ts)
/* NICK <newnick> */
void shadowircd_cmd_chg_nick(char *oldnick, char *newnick)
{
Uid *ud;
if (!oldnick || !newnick) {
return;
}
ud = find_uid(oldnick);
if (ud)
strscpy(ud->nick, newnick, NICKMAX);
send_cmd(oldnick, "NICK %s", newnick);
}
+2 -1
View File
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="4"
VERSION_EXTRA="-git"
VERSION_BUILD="3019"
VERSION_BUILD="3020"
# $Log$ # Changes since the 1.8.4 Release
#Revision 3020 - Fixed bug #1180 - Fixed tracking of internal clients when they change nicks on TS6 IRCds
#Revision 3019 - Properly track users hosts when a user is -x and has a vhost via chghost
#Revision 3018 - Accommodate for the InspIRCd 2.0 protocol being even more oversized then we previously thought..
#Revision 3017 - Log out super admins when someone forces them to logout