]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_lockserv.cpp
Fix GetPrefixChar returning empty if a non-prefix mode was used
[user/henk/code/inspircd.git] / src / modules / m_lockserv.cpp
index 3dff80fdf666b870362befd84263539dcacf248c..ce3ab4c2ba628989109367cb326868fc29ebac41 100644 (file)
@@ -37,7 +37,7 @@ public:
                user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick.c_str(), user->server);
                ServerInstance->SNO->WriteGlobalSno('a', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick.c_str());
                /* Dont send to the network */
-               return CMD_LOCALONLY;
+               return CMD_SUCCESS;
        }
 };
 
@@ -59,7 +59,7 @@ public:
                user->WriteNumeric(989, "%s %s :Open for new connections", user->nick.c_str(), user->server);
                ServerInstance->SNO->WriteGlobalSno('a', "Oper %s used UNLOCKSERV to allow for new connections", user->nick.c_str());
                /* Dont send to the network */
-               return CMD_LOCALONLY;
+               return CMD_SUCCESS;
        }
 };