From 4158ee6882ad088cd9e63db22d8fad7a624b14e6 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Jan 2006 22:30:34 +0000 Subject: Added some extra debug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2958 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operchans.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp index c15cd2b58..1ec4b4fc7 100644 --- a/src/modules/m_operchans.cpp +++ b/src/modules/m_operchans.cpp @@ -49,8 +49,9 @@ class ModuleOperChans : public Module { chanrec* chan = (chanrec*)target; - if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,"")) || (strchr(user->modes,'o'))) + if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!*user->server) || (strchr(user->modes,'o'))) { + log(DEBUG,"Allowing mode +O"); return 1; } else -- cgit v1.2.3