]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
m_whox: fix -Wparentheses warning
authorBram Matthys <redacted>
Fri, 21 Sep 2018 06:50:04 +0000 (08:50 +0200)
committerBram Matthys <redacted>
Fri, 21 Sep 2018 06:50:04 +0000 (08:50 +0200)
src/modules/m_whox.c

index 02a2d2c6f688e6b1aeafbd371c220cab17ef3a16..a8ca156ed3deb4d035e12ca76b9150b9719d5d44 100644 (file)
@@ -683,7 +683,7 @@ do_who(aClient *source_p, aClient *target_p, aChannel *chptr, struct who_format
        {
                Membership *lp;
 
-               if (lp = find_membership_link(target_p->user->channel, chptr))
+               if ((lp = find_membership_link(target_p->user->channel, chptr)))
                {
                        if (!(fmt->fields || SupportNAMESX(source_p)))
                        {