Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / ircd_relay.c
index 32f2df0a61e9758aa2f3c3b3e43b85e01256b51c..0953568cccd7dfb76d3de6b5088b1e4fe6940627 100644 (file)
@@ -244,8 +244,8 @@ void relay_private_message(struct Client* sptr, const char* name, const char* te
     send_reply(sptr, ERR_NOSUCHNICK, name);
     return;
   }
-  if (!IsChannelService(acptr) &&
-      check_target_limit(sptr, acptr, cli_name(acptr), 0) ||
+  if ((!IsChannelService(acptr) &&
+       check_target_limit(sptr, acptr, cli_name(acptr), 0)) ||
       is_silenced(sptr, acptr))
     return;
 
@@ -272,8 +272,8 @@ void relay_private_notice(struct Client* sptr, const char* name, const char* tex
 
   if (0 == (acptr = FindUser(name)))
     return;
-  if (!IsChannelService(acptr) && 
-      check_target_limit(sptr, acptr, cli_name(acptr), 0) ||
+  if ((!IsChannelService(acptr) && 
+       check_target_limit(sptr, acptr, cli_name(acptr), 0)) ||
       is_silenced(sptr, acptr))
     return;
   /*