From c240ecad4f96e6d74fc098d76301f92f8a4be8ac Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 25 Feb 2008 00:05:15 +0100 Subject: [PATCH] Remove CHFL_DEOPPED check from TMODE. This check sometimes blocks oper overrides (OMODE). It does not stop any hacks that the channelTS check already stops, because CHFL_DEOPPED is only set when this server ignored an @ in an incoming SJOIN (the SJOIN is then propagated without the @) and this can only be because of a TS difference. --- modules/core/m_mode.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/core/m_mode.c b/modules/core/m_mode.c index 25b251c..f59a950 100644 --- a/modules/core/m_mode.c +++ b/modules/core/m_mode.c @@ -205,10 +205,6 @@ ms_tmode(struct Client *client_p, struct Client *source_p, int parc, const char { msptr = find_channel_membership(chptr, source_p); - /* this can still happen on a mixed ts network. */ - if(is_deop(msptr)) - return 0; - set_channel_mode(client_p, source_p, chptr, msptr, parc - 3, parv + 3); }