mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 11:53:13 +02:00
Fixed a bug in the empty channel fix
This commit is contained in:
@@ -1759,3 +1759,4 @@ seen. gmtime warning still there
|
||||
reported by AngryWolf (#0000596)
|
||||
- Fixed whole bunch of users in empty channel bug (probably)
|
||||
- Added a patch by Syzop to increase the "randomness" of well... the random numbers
|
||||
- Fixed a bug in the empty channel fix
|
||||
|
||||
+1
-1
@@ -2624,7 +2624,7 @@ static void sub1_from_channel(aChannel *chptr)
|
||||
* someone doesn't remember what -- does when
|
||||
* preceding a variable.
|
||||
if (--chptr->users <= 0) */
|
||||
if (chptr->users-- == 0)
|
||||
if (chptr->users == 0 || --chptr->users == 0)
|
||||
{
|
||||
/*
|
||||
* Now, find all invite links from channel structure
|
||||
|
||||
Reference in New Issue
Block a user