Remove redundant MyClient check, it is already checked above.

This commit is contained in:
Jilles Tjoelker 2010-08-24 22:46:57 +02:00
parent 51269a8737
commit dd9b78dc92

View 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))
{