diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-11 19:27:22 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-11 19:27:22 +0000 |
commit | 44cf93876fdbbe412ec81bad8f702dd6678eab66 (patch) | |
tree | 5c47c8ab5c5ec1e14099aabb3c5a17cb40100945 /src/inspircd.cpp | |
parent | 937769bcf5f772b5ea1a581b0e134fc9f2e2334b (diff) |
Fucking linux
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1050 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c88e3dfaf..a432c6181 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3544,9 +3544,10 @@ bool LoadModule(const char* filename) { modules.push_back(NULL); log(DEFAULT,"Extending modules[]"); - bool extended = true; + bool mextended = true; } - modules[MODCOUNT+1] = factory[MODCOUNT+1]->factory->CreateModule(); + Module* m = factory[MODCOUNT+1]->factory->CreateModule(); + modules[MODCOUNT+1] = m; /* save the module and the module's classfactory, if * this isnt done, random crashes can occur :/ */ module_names.push_back(filename); |