1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 01:13:12 +02:00

Cleanup in main.cpp.

This commit is contained in:
Naram Qashat
2010-08-01 13:42:35 -04:00
parent 2f6c0e435c
commit d59c1b95e1
12 changed files with 50 additions and 54 deletions
+3 -3
View File
@@ -1178,21 +1178,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 = "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_account.so is not loaded. This is required by Anope");
quitmsg = "ERROR: Remote server does not have the m_services_account 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 does not have the m_hidechans module loaded, and this is required.";
quitting = 1;
quitting = true;
return MOD_STOP;
}
if (!has_svsholdmod)