1
0
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:
Bram Matthys
2024-06-30 19:47:04 +02:00
parent 53d97e020f
commit 58d7a274f6
+2
View File
@@ -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))
{