diff options
Diffstat (limited to 'src/engine/ingen_http.cpp')
-rw-r--r-- | src/engine/ingen_http.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/engine/ingen_http.cpp b/src/engine/ingen_http.cpp index 878c8f6b..6eb5cd9f 100644 --- a/src/engine/ingen_http.cpp +++ b/src/engine/ingen_http.cpp @@ -33,16 +33,12 @@ struct IngenHTTPModule : public Ingen::Shared::Module { } }; -static IngenHTTPModule* module = NULL; - extern "C" { Ingen::Shared::Module* -ingen_module_load() { - if (!module) - module = new IngenHTTPModule(); - - return module; +ingen_module_load() +{ + return new IngenHTTPModule(); } } // extern "C" |