summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-03 09:06:28 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-03 09:06:28 +0000
commitfd2672cebc4631ce6aff22505021a1358d26533f (patch)
tree7d61a42def38074cacf1854a09aa8d78819dc217 /src/modules
parent87382eb7160d6e2a03465eb8118915d389ec661f (diff)
Added Check for 'NoServer' when +r ing a channel.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1287 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-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 02ae0383a..7cbf3de5d 100644
--- a/src/modules/m_services.cpp
+++ b/src/modules/m_services.cpp
@@ -111,7 +111,7 @@ class ModuleServices : public Module
chanrec* c = (chanrec*)dest;
if ((c->IsCustomModeSet('M')) && (!strchr(user->modes,'r')))
{
- if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)))
+ if ((Srv->IsUlined(user->nick)) || (Srv->IsUlined(user->server)) || (!strcmp(user->server,""))
{
// user is ulined, can speak regardless
return 0;