1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 09:23:12 +02:00

- Fixed a crashbug with +f and services, reported by Rocko (#0001227).

This commit is contained in:
Bram Matthys
2003-09-04 20:04:49 +00:00
parent c9f03422e7
commit 09178f3a0c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2388,3 +2388,4 @@ seen. gmtime warning still there
- Fixed multiple chmode +u bugs: remote join, netjoin, +mu relay between servers, kick and
a part bug. Most of them reported by Lx (#0001097).
- Fixed a bug in +f + modes-on-join + 't' subfloodtype, reported by Rocko (#0001228).
- Fixed a crashbug with +f and services, reported by Rocko (#0001227).
+1 -1
View File
@@ -3646,7 +3646,7 @@ CMD_FUNC(do_join)
* Nr 4 is done because otherwise you would have a noticeflood with 'joinflood detected'
* from all servers.
*/
if (chptr->mode.floodprot && (MyClient(sptr) || sptr->serv->flags.synced) &&
if (chptr->mode.floodprot && (MyClient(sptr) || sptr->srvptr->serv->flags.synced) &&
do_chanflood(chptr->mode.floodprot, FLD_JOIN) && MyClient(sptr))
{
do_chanflood_action(chptr, FLD_JOIN, "join");