1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 20:33: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
@@ -880,7 +880,7 @@ int anope_event_capab(const Anope::string &source, int ac, const char **av)
{
send_cmd("", "ERROR :Protocol mismatch, no or invalid protocol version given in CAPAB START");
quitmsg = "Protocol mismatch, no or invalid protocol version given in CAPAB START";
quitting = 1;
quitting = true;
return MOD_STOP;
}
@@ -1158,14 +1158,14 @@ int anope_event_capab(const Anope::string &source, int ac, const char **av)
{
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 (!ModeManager::FindUserModeByName(UMODE_PRIV))
{
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)