X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..4d17e288b419ed53a94b2d1daa6a139e42675a6c:/modules/core/m_mode.c diff --git a/modules/core/m_mode.c b/modules/core/m_mode.c index 25b251c..4867e44 100644 --- a/modules/core/m_mode.c +++ b/modules/core/m_mode.c @@ -136,9 +136,6 @@ m_mode(struct Client *client_p, struct Client *source_p, int parc, const char *p { msptr = find_channel_membership(chptr, source_p); - if(is_deop(msptr)) - return 0; - /* Finish the flood grace period... */ if(MyClient(source_p) && !IsFloodDone(source_p)) { @@ -205,10 +202,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); }