From fd2672cebc4631ce6aff22505021a1358d26533f Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Tue, 3 May 2005 09:06:28 +0000 Subject: 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 --- src/modules/m_services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3