From: brain Date: Sun, 29 Jan 2006 21:55:59 +0000 (+0000) Subject: Allow ulines to still notice the channel regardless of +T X-Git-Tag: v2.0.23~9113 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=962ba84c30e9207716d1498189a6ed69595da292;p=user%2Fhenk%2Fcode%2Finspircd.git Allow ulines to still notice the channel regardless of +T git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2974 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index bd5c34ee3..2998fff8f 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -48,7 +48,7 @@ class ModuleNoNotice : public Module chanrec* c = (chanrec*)dest; if (c->IsCustomModeSet('T')) { - if ((Srv->ChanMode(user,c) == "@") || (Srv->ChanMode(user,c) == "%")) + if ((Srv->IsUline(user->server)) || (Srv->ChanMode(user,c) == "@") || (Srv->ChanMode(user,c) == "%")) { // ops and halfops can still /NOTICE the channel return 0;