summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-09-08 16:54:33 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-08 16:54:33 +0200
commitfabe111fb9e37c86beeecc773b9ad03c7046ccbf (patch)
treeeb8a3f8db16f25f1283e14731aff3688a69edf99 /src
parent29694ce3d2c57ebefa9b14b6816679bf44799921 (diff)
Fix module loading in PURE_STATIC builds
Diffstat (limited to 'src')
-rw-r--r--src/modmanager_static.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp
index eeb8b6f96..ee248f505 100644
--- a/src/modmanager_static.cpp
+++ b/src/modmanager_static.cpp
@@ -17,7 +17,7 @@
*/
-#define MODNAME cmd_all
+#define MODNAME "cmd_all"
#include "inspircd.h"
#include "exitcodes.h"
@@ -186,7 +186,7 @@ void ModuleManager::Reload(Module* mod, HandlerBase1<void, bool>* callback)
void ModuleManager::LoadAll()
{
- Load("cmd_all", true);
+ Load("cmd_all.so", true);
Load("cmd_whowas.so", true);
Load("cmd_lusers.so", true);
Load("cmd_privmsg.so", true);