From baea829a3d0694c2828c2c220dc2ec498166e047 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 Jan 2006 17:11:02 +0000 Subject: kludge in the wrong place ;) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2882 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_services.cpp') diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 4eea615cb..2a9c47dd5 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -92,7 +92,7 @@ class ModuleServices : public Module if (type == MT_CHANNEL) { // only a u-lined server may add or remove the +r mode. - if ((kludgeme) || (Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,"") || (strchr(user->nick,'.')))) + if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,"") || (strchr(user->nick,'.')))) { log(DEBUG,"Allowing umode +r, server and nick are: '%s','%s'",user->nick,user->server); return 1; @@ -105,7 +105,7 @@ class ModuleServices : public Module } else { - if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,"") || (strchr(user->nick,'.')))) + if ((kludgeme) || (Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,"") || (strchr(user->nick,'.')))) { log(DEBUG,"Allowing umode +r, server and nick are: '%s','%s'",user->nick,user->server); return 1; -- cgit v1.2.3