1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 19:53:13 +02:00

Fixed the NICK command syntax on InspIRCd 1.2 to work when changing clients nicknames

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2544 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-10-09 22:33:39 +00:00
parent 5b65c9ce87
commit b80e0cb996
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -1293,10 +1293,14 @@ void inspircd_cmd_svso(char *source, char *nick, char *flag)
/* NICK <newnick> */
void inspircd_cmd_chg_nick(char *oldnick, char *newnick)
{
Uid *ud;
if (!oldnick || !newnick)
return;
ud = find_uid(oldnick);
if (!ud)
ud = find_uid(newnick);
send_cmd(oldnick, "NICK %s", newnick);
send_cmd(ud ? ud->uid : oldnick, "NICK %s %ld", newnick, time(NULL));
}
/* SVSNICK */
+2 -1
View File
@@ -9,9 +9,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="2"
VERSION_EXTRA="-svn"
VERSION_BUILD="2543"
VERSION_BUILD="2544"
# $Log$ # Changes since 1.8.2 Release
#Revision 2544 - Fixed the NICK command syntax on InspIRCd 1.2 to work when changing clients nicknames
#Revision 2543 - Fixed crash when juping servers on InspIRCd 1.2
#Revision 2542 - Fixed remote whoises on services clients on InspIRCd 1.2
#Revision 2537 - Added InspIRCd 1.2 protocol module into Windows makefiles and installer scripts