summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-03 09:10:31 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-03 09:10:31 +0000
commit845d7571ec9840f3cab361ca7502af90bc8f73a3 (patch)
treefc3747e881cad0cf615bbbf8d889b1f9bd4c2454
parent8ad1d8ecdfd182a74837099c749be33a5c006157 (diff)
Added another check for 'NoServerUline' type thing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1289 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp
index d1b63c3b4..929c45f90 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -65,7 +65,7 @@ class ModuleServices : public Module
if (type == MT_CHANNEL)
{
// only a u-lined server may add or remove the +r mode.
- if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)))
+ if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,"")))
{
return 1;
}