Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/module.cc')
-rw-r--r--src/core/module.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/module.cc b/src/core/module.cc
index 8eef50f..447e2b3 100644
--- a/src/core/module.cc
+++ b/src/core/module.cc
@@ -9,13 +9,12 @@
namespace core
{
-Module *Module::module_preload;
+Module *Module::module_preload = 0;
-Module::Module(const char *name)
+Module::Module(const char *name) :
+ module_name(name)
{
module_running = false;
- module_name.assign(name);
- module_preload = 0;
}
Module::~Module()