From 962ba84c30e9207716d1498189a6ed69595da292 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 29 Jan 2006 21:55:59 +0000 Subject: 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 --- src/modules/m_nonotice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3