summaryrefslogtreecommitdiff
path: root/src/modules/m_globops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r--src/modules/m_globops.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index 378f6e5ce..1e37e1fb9 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -48,9 +48,9 @@ class ModuleGlobops : public Module
{
Srv->Log(DEFAULT,"*** m_globops: ERROR, failed to allocate user mode +g!");
printf("Could not claim usermode +g for this module!");
- exit(0);
+ return;
}
- Srv->AddCommand("GLOBOPS",handle_globops,'o',1,"m_globops.so");
+ else Srv->AddCommand("GLOBOPS",handle_globops,'o',1,"m_globops.so");
}
virtual ~ModuleGlobops()