]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_servprotect.cpp
Omit the server name internally when building a /STATS reply and prepend it later
[user/henk/code/inspircd.git] / src / modules / m_servprotect.cpp
index 1eb969fc95dd87780d465ccb2a14835366a5c9a8..b35ee3487e4581257a6b162e39c18462c83ded65 100644 (file)
@@ -69,7 +69,7 @@ class ModuleServProtectMode : public Module
                /* Check that the mode is not a server mode, it is being removed, the user making the change is local, there is a parameter,
                 * and the user making the change is not a uline
                 */
-               if (!adding && chan && IS_LOCAL(user) && !param.empty() && !ServerInstance->ULine(user->server))
+               if (!adding && chan && IS_LOCAL(user) && !param.empty())
                {
                        /* Check if the parameter is a valid nick/uuid
                         */
@@ -125,5 +125,4 @@ class ModuleServProtectMode : public Module
        }
 };
 
-
 MODULE_INIT(ModuleServProtectMode)