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:
@@ -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).
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user