]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Add parenthesis for clarity.
authorGunnar Beutner <redacted>
Sat, 13 Jul 2013 15:56:47 +0000 (17:56 +0200)
committerGunnar Beutner <redacted>
Sat, 13 Jul 2013 15:56:47 +0000 (17:56 +0200)
--HG--
branch : shroudtrusts

glines/glines.c

index b64a3deffcc6e1389626300cabc94d2d46f3d251..ba8c0fbb8f29ff1d518d0c3401fa12fbc3c2469c 100644 (file)
@@ -351,7 +351,7 @@ int isglinesane(gline *gl, const char **hint) {
   }
 
   /* Wildcard username match for trusted host with reliable usernames. */
-  if (gl->flags & GLINE_IPMASK && (!gl->user || strchr(gl->user->content, '*') || strchr(gl->user->content, '?'))) {
+  if ((gl->flags & GLINE_IPMASK) && (!gl->user || strchr(gl->user->content, '*') || strchr(gl->user->content, '?'))) {
     th = th_getbyhost(&gl->ip);
 
     if (th && (th->group->flags & TRUST_RELIABLE_USERNAME)) {