mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 02:23:12 +02:00
- Fixed bug in HOOKTYPE_LOCAL_JOIN which could cause 0-member-channels if a hook returned 1 and the channel was new.
This commit is contained in:
@@ -2188,3 +2188,5 @@ seen. gmtime warning still there
|
||||
reported by _loco_ (#0000991).
|
||||
- Fixed a bug in the win32 editor reported by ChAoS^TiGeR
|
||||
- Fixed /map bug that permitted trivial finding of U-lined servers
|
||||
- Fixed bug in HOOKTYPE_LOCAL_JOIN which could cause 0-member-channels if a hook returned
|
||||
1 and the channel was new.
|
||||
|
||||
@@ -2896,7 +2896,12 @@ CMD_FUNC(do_join)
|
||||
}
|
||||
}
|
||||
if (breakit)
|
||||
{
|
||||
/* Rejected... if we just created a new chan we should destroy it too. -- Syzop */
|
||||
if (!chptr->users)
|
||||
sub1_from_channel(chptr);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user