]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fucking linux
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 11 Apr 2005 19:27:22 +0000 (19:27 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 11 Apr 2005 19:27:22 +0000 (19:27 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1050 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd.cpp

index c88e3dfafa5fec44a5b260a2fb2e89df18593e1a..a432c61814d848710079afca2c9957266488fdcd 100644 (file)
@@ -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);