diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 18:17:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 18:17:13 +0000 |
commit | a51984ba6fe32bde391f961d4ff52628b768d346 (patch) | |
tree | a05371dfa4a35efc4a00614925b20ce61519e2f9 /include | |
parent | 6083275113d52bb5bcec87304d0b4f5379eb1ab3 (diff) |
Moved a bunch of stuff into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2438 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 1eece0532..d3c7db549 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -93,9 +93,17 @@ class serverstats class InspIRCd { + + private: + void erase_factory(int j); + void erase_module(int j); + bool UnloadModule(const char* filename); + bool LoadModule(const char* filename); + public: InspIRCd(int argc, char** argv); int Run(); + }; /* prototypes */ @@ -109,8 +117,6 @@ int loop_call(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start void AddWhoWas(userrec* u); void ConnectUser(userrec *user); userrec* ReHashNick(char* Old, char* New); -bool LoadModule(const char* filename); -bool UnloadModule(const char* filename); char* ModuleError(); /* optimization tricks to save us walking the user hash */ void AddOper(userrec* user); |