1
0
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:
Bram Matthys
2003-05-22 18:52:11 +00:00
parent 83bf47452d
commit 187ef2996d
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -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.
+5
View File
@@ -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;
}
}
/*