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 /src/inspircd.cpp | |
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 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 0e7902f74..baabe90e3 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1368,7 +1368,7 @@ char* ModuleError() return MODERR; } -void erase_factory(int j) +void InspIRCd::erase_factory(int j) { int v = 0; for (std::vector<ircd_module*>::iterator t = factory.begin(); t != factory.end(); t++) @@ -1383,7 +1383,7 @@ void erase_factory(int j) } } -void erase_module(int j) +void InspIRCd::erase_module(int j) { int v1 = 0; for (std::vector<Module*>::iterator m = modules.begin(); m!= modules.end(); m++) @@ -1410,7 +1410,7 @@ void erase_module(int j) } -bool UnloadModule(const char* filename) +bool InspIRCd::UnloadModule(const char* filename) { std::string filename_str = filename; for (unsigned int j = 0; j != Config->module_names.size(); j++) @@ -1450,7 +1450,7 @@ bool UnloadModule(const char* filename) return false; } -bool LoadModule(const char* filename) +bool InspIRCd::LoadModule(const char* filename) { char modfile[MAXBUF]; #ifdef STATIC_LINK |