]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Remove redundant check.
authorJilles Tjoelker <redacted>
Sun, 28 Dec 2008 17:36:41 +0000 (18:36 +0100)
committerJilles Tjoelker <redacted>
Sun, 28 Dec 2008 17:36:41 +0000 (18:36 +0100)
Surely, if source_p == target_p, then target_p->from == source_p->from.

src/s_user.c

index 667873e233ced85a6cae3d09df8838bfe31eb32d..ca5f74ce8de8a3b342fd79fdaf58979bdf2ab3bf 100644 (file)
@@ -904,7 +904,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, const char
                return 0;
        }
 
-       if(source_p != target_p || target_p->from != source_p->from)
+       if(source_p != target_p)
        {
                sendto_one(source_p, form_str(ERR_USERSDONTMATCH), me.name, source_p->name);
                return 0;