]> jfr.im git - irc/blitzed-org/charybdis.git/commitdiff
Remove redundant MyClient check, it is already checked above.
authorJilles Tjoelker <redacted>
Tue, 24 Aug 2010 20:46:57 +0000 (22:46 +0200)
committerJilles Tjoelker <redacted>
Tue, 24 Aug 2010 20:46:57 +0000 (22:46 +0200)
modules/core/m_message.c

index 2be4c1ed31c3e0461178feb67d3dced60efdca77..636bb8dcf6dd3cdfe8dc065098b61d6ede5697d2 100644 (file)
@@ -688,8 +688,7 @@ msg_client(int p_or_n, const char *command,
                 * as a way to taunt users, e.g. harass them and hide behind +g
                 * as a way of griefing.  --nenolod
                 */
-               if(p_or_n != NOTICE && MyClient(source_p) &&
-                               IsSetCallerId(source_p) &&
+               if(p_or_n != NOTICE && IsSetCallerId(source_p) &&
                                !accept_message(target_p, source_p) &&
                                !IsOper(target_p))
                {