summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-09 21:59:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-09 21:59:58 +0000
commit527077d8c00e69b536a18a7eedaaa54a79c53619 (patch)
tree07d3652ab8a9b39d1ff149ee0cba179163e46ddf /include/inspircd.h
parent755d49e95a14ea4b48bd9f23ba724bcc5918fc9b (diff)
Untested priority system for modules to move themselves to the start or end of the module queue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2758 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index e41482341..2f1b8bc1a 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -104,6 +104,7 @@ class InspIRCd
void erase_factory(int j);
void erase_module(int j);
void BuildISupport();
+ void MoveTo(std::string modulename,int slot);
public:
time_t startup_time;
@@ -118,6 +119,8 @@ class InspIRCd
char* ModuleError();
bool LoadModule(const char* filename);
bool UnloadModule(const char* filename);
+ void MoveToLast(std::string modulename);
+ void MoveToFirst(std::string modulename);
InspIRCd(int argc, char** argv);
int Run();