diff --git a/modules/core/m_message.c b/modules/core/m_message.c index b65527e0..c2e337c9 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -767,7 +767,7 @@ flood_attack_client(int p_or_n, struct Client *source_p, struct Client *target_p { int delta; - if(GlobalSetOptions.floodcount && MyConnect(target_p) && IsClient(source_p)) + if(GlobalSetOptions.floodcount && MyConnect(target_p) && IsClient(source_p) && source_p != target_p) { if((target_p->localClient->first_received_message_time + 1) < rb_current_time()) {