summaryrefslogtreecommitdiff
path: root/src/modules/m_lockserv.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-03 15:53:15 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-03 15:53:15 +0000
commit1c1c5fc3f01c42a09d34594989679bbc8fb21c0d (patch)
tree5c74dbaff535f90799e997795074e6c1fbc19091 /src/modules/m_lockserv.cpp
parentb45dcb19d3350a5ae5e9a006b3679f0bc3992fea (diff)
Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_lockserv.cpp')
-rw-r--r--src/modules/m_lockserv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp
index 3dff80fdf..ce3ab4c2b 100644
--- a/src/modules/m_lockserv.cpp
+++ b/src/modules/m_lockserv.cpp
@@ -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;
}
};