mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 12:53:14 +02:00
- Fixed bug in CVS where the ban exempt (+e) handling was reversed: if a
non-matching +e was present, one could walk through bans. Reported by tabrisnet (#0003909). Bug was caused by chained/stacked extbans.
This commit is contained in:
@@ -1968,3 +1968,6 @@
|
||||
- SVSMODE now triggers HOOKTYPE_UMODE_CHANGE and HOOKTYPE_REMOTE_CHANMODE.
|
||||
- Added chmode +r to HTML documentation.
|
||||
- ./Config now remembers extra/custom ./configure parameters.
|
||||
- Fixed bug in CVS where the ban exempt (+e) handling was reversed: if a
|
||||
non-matching +e was present, one could walk through bans. Reported by
|
||||
tabrisnet (#0003909). Bug was caused by chained/stacked extbans.
|
||||
|
||||
+2
-2
@@ -590,8 +590,8 @@ Ban *is_banned_with_nick(aClient *sptr, aChannel *chptr, int type, char *nick)
|
||||
return NULL;
|
||||
}
|
||||
#else
|
||||
if (!ban_check_mask(sptr, chptr, tmp2->banstr, type, 0))
|
||||
return NULL;
|
||||
if (ban_check_mask(sptr, chptr, tmp2->banstr, type, 0))
|
||||
return NULL; /* except matched */
|
||||
#endif
|
||||
}
|
||||
break; /* ban found and not on except */
|
||||
|
||||
Reference in New Issue
Block a user