diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-07 19:30:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-07 19:30:12 +0000 |
commit | 4efba4dad4b21f8ae2357a473b335e147b83a7c7 (patch) | |
tree | fa2119bba706d82f9d952b83c783f717db8983dc /src/modules/m_globops.cpp | |
parent | 2e7a94034d80daa745d062a42e9a7bbd88b4bc6d (diff) |
Fixed issue where failing modules would bail by calling exit (deprecated) --
modules should now just disable their functionality if they are missing data
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1007 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r-- | src/modules/m_globops.cpp | 4 |
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() |