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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user