summaryrefslogtreecommitdiff
path: root/src/modules/m_globalload.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_globalload.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_globalload.cpp')
-rw-r--r--src/modules/m_globalload.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp
index 72c8a14d3..817e9cdfc 100644
--- a/src/modules/m_globalload.cpp
+++ b/src/modules/m_globalload.cpp
@@ -47,6 +47,11 @@ class CommandGloadmodule : public Command
return CMD_SUCCESS;
}
+
+ RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters)
+ {
+ return ROUTE_BROADCAST;
+ }
};
/** Handle /GUNLOADMODULE
@@ -80,6 +85,11 @@ class CommandGunloadmodule : public Command
return CMD_SUCCESS;
}
+
+ RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters)
+ {
+ return ROUTE_BROADCAST;
+ }
};
/** Handle /GRELOADMODULE
@@ -118,6 +128,11 @@ class CommandGreloadmodule : public Command
return CMD_SUCCESS;
}
+
+ RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters)
+ {
+ return ROUTE_BROADCAST;
+ }
};
class ModuleGlobalLoad : public Module