1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 08:43:13 +02:00
This commit is contained in:
luke
2003-01-16 16:29:16 +00:00
parent 5a079cc107
commit 60c79e809c
+2 -5
View File
@@ -2551,11 +2551,8 @@ static void sub1_from_channel(chptr)
Ban *ban;
Link *lp;
/* Bad. Bad. Bad. chptr->users is unsigned
* someone doesn't remember what -- does when
* preceding a variable.
if (--chptr->users <= 0) */
if (chptr->users-- == 0)
/* if (--chptr->users <= 0) */
if (chptr->users == 0 || --chptr->users == 0)
{
/*
* Now, find all invite links from channel structure