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_botmode.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_botmode.cpp')
-rw-r--r-- | src/modules/m_botmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index f53f8beda..69a9495a5 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -34,7 +34,7 @@ class ModuleBotMode : public Module { Srv->Log(DEFAULT,"*** m_botmode: ERROR, failed to allocate user mode +B!"); printf("Could not claim usermode +B for this module!"); - exit(0); + return; } } |