1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 16:46:37 +02:00

And another fix for 0d2d4d5bca.

This commit is contained in:
Bram Matthys
2019-08-17 09:36:29 +02:00
parent f10ec9aebc
commit 5f99586982
+2 -2
View File
@@ -3546,7 +3546,7 @@ int _match_user(char *rmask, aClient *acptr, int options)
umask = p;
/* Could just as well check nick right now */
if (!match_simple(nmask, acptr->name) != 0)
if (!match_simple(nmask, acptr->name))
return 0; /* NOMATCH: nick mask did not match */
}
}
@@ -3566,7 +3566,7 @@ int _match_user(char *rmask, aClient *acptr, int options)
umask = mask;
/* Check user portion right away */
if (!match_simple(umask, client_username) != 0)
if (!match_simple(umask, client_username))
return 0; /* NOMATCH: user mask did not match */
} else {
if (nmask)