summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-29 21:55:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-29 21:55:59 +0000
commit962ba84c30e9207716d1498189a6ed69595da292 (patch)
treef109c183db798d45e945eafd367afd5e80bde79b /src
parent3ba6fa6d7f81cc1c20a3ad4a7d2aa9521e9b36a8 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_nonotice.cpp2
1 files changed, 1 insertions, 1 deletions
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;