summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 20:19:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 20:19:25 +0000
commitc930256639e1bab55cb3a9ae2965647f2f6b9ec2 (patch)
tree0edc22cca50667a88f577087ba2c99498791d886 /src/configreader.cpp
parentd2858a7fef3b79075ee59b68b3d4c2ebcd4900c4 (diff)
Fix the two FIXMEs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8521 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index e7eb84ff8..cbf254b32 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -664,15 +664,10 @@ bool DoneULine(ServerConfig*, const char*)
*/
bool InitModule(ServerConfig* conf, const char*)
{
- old_module_names.clear();
+ old_module_names = conf->GetInstance()->Modules->GetAllModuleNames(0);
new_module_names.clear();
added_modules.clear();
removed_modules.clear();
- /** FIXME **/
- /*for (std::vector<std::string>::iterator t = conf->module_names.begin(); t != conf->module_names.end(); t++)
- {
- old_module_names.push_back(*t);
- }*/
return true;
}