1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 23:23:14 +02:00

- Fixed a bug where /SAJOIN user 0 caused a desynch, reported by trystanscott (#0002384).

This commit is contained in:
Bram Matthys
2005-03-04 19:18:25 +00:00
parent 137d136233
commit 92f413f387
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -741,3 +741,4 @@
** internal 3.2.3-pre1 release **
- Fixed a bug with /invite with no parameters (accidentily broken when +I was added)
(#0002383) reported by trystanscott.
- Fixed a bug where /SAJOIN user 0 caused a desynch, reported by trystanscott (#0002384).
+2 -2
View File
@@ -172,14 +172,14 @@ DLLFUNC CMD_FUNC(m_sajoin)
{
chptr = lp->chptr;
sendto_channel_butserv(chptr, acptr,
":%s PART %s :%s", parv[0], chptr->chname,
":%s PART %s :%s", acptr->name, chptr->chname,
"Left all channels");
if (MyConnect(acptr))
RunHook4(HOOKTYPE_LOCAL_PART, acptr, acptr, chptr,
"Left all channels");
remove_user_from_channel(acptr, chptr);
}
sendto_serv_butone_token(acptr, parv[0],
sendto_serv_butone_token(acptr, acptr->name,
MSG_JOIN, TOK_JOIN, "0");
strcpy(jbuf, "0");
i = 1;