diff options
Diffstat (limited to 'modules/protocol/inspircd11.cpp')
-rw-r--r-- | modules/protocol/inspircd11.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index 7f98433d7..e7297b679 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -1004,21 +1004,21 @@ int anope_event_capab(const Anope::string &source, int ac, const char **av) { send_cmd("", "ERROR :m_globops is not loaded. This is required by Anope"); quitmsg = "ERROR: Remote server does not have the m_globops module loaded, and this is required."; - quitting = 1; + quitting = true; return MOD_STOP; } if (!has_servicesmod) { send_cmd("", "ERROR :m_services is not loaded. This is required by Anope"); quitmsg = "ERROR: Remote server does not have the m_services module loaded, and this is required."; - quitting = 1; + quitting = true; return MOD_STOP; } if (!has_hidechansmod) { send_cmd("", "ERROR :m_hidechans.so is not loaded. This is required by Anope"); quitmsg = "ERROR: Remote server deos not have the m_hidechans module loaded, and this is required."; - quitting = 1; + quitting = true; return MOD_STOP; } if (!has_svsholdmod) |