From bc75c3ae0ed7c9a29059c61f8ae775745dd7ad21 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 9 Feb 2015 11:14:03 -0600 Subject: [PATCH] fix target list generation edge case where WALLCHOPS was requested alongside normal users if the source user was not a channel op. from ircd-hybrid r5457 --- modules/core/m_message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/m_message.c b/modules/core/m_message.c index ea03186d..0313b137 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -364,7 +364,7 @@ build_target_list(enum message_type msgtype, struct Client *client_p, get_id(&me, source_p), get_id(source_p, source_p), with_prefix); - return (-1); + continue; } if(!duplicate_ptr(chptr))