summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-24 17:11:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-24 17:11:02 +0000
commitbaea829a3d0694c2828c2c220dc2ec498166e047 (patch)
tree912fc5d58f4137d836df00bd71906a778985254d
parentf93714e66a3dc6869e97adc84f399ef84e4b189a (diff)
kludge in the wrong place ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2882 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_services.cpp4
1 files changed, 2 insertions, 2 deletions
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;