]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Allow ulines to still notice the channel regardless of +T
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 29 Jan 2006 21:55:59 +0000 (21:55 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 29 Jan 2006 21:55:59 +0000 (21:55 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2974 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_nonotice.cpp

index bd5c34ee39a7db529f27eb625786cd3753fc5d5e..2998fff8f498274e2dc684ab511731edfa6bd9a6 100644 (file)
@@ -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;