mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 00:43:13 +02:00
Fix crash in new ban user { } code, as predicted two commits ago.
This commit is contained in:
@@ -4198,6 +4198,8 @@ TKL *_find_tkl_serverban(int type, char *usermask, char *hostmask, int softban)
|
||||
{
|
||||
if (tkl->type == type)
|
||||
{
|
||||
if (tkl->ptr.serverban->match)
|
||||
continue;
|
||||
if (!strcasecmp(tkl->ptr.serverban->hostmask, hostmask) &&
|
||||
!strcasecmp(tkl->ptr.serverban->usermask, usermask))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user