From dd9b78dc92932a56fc4e7ce17d2adefc14d5cc27 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 24 Aug 2010 22:46:57 +0200 Subject: [PATCH] Remove redundant MyClient check, it is already checked above. --- modules/core/m_message.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/core/m_message.c b/modules/core/m_message.c index 2be4c1ed..636bb8dc 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -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)) {