1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 16:53:12 +02:00

Fixed a few small problems, including m_ssl's connect feature sometimes failing for no good reason

This commit is contained in:
Adam
2011-07-31 03:22:23 -04:00
parent f29c88bcd5
commit 1cb11bba5d
9 changed files with 227 additions and 84 deletions
+3 -3
View File
@@ -336,9 +336,6 @@ class OSDefcon : public Module
public:
OSDefcon(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, SUPPORTED), session_service("session"), akills("xlinemanager/sgline"), commandosdefcon(this)
{
if (!DConfig.defaultlevel)
throw ModuleException("Invalid configuration settings");
this->SetAuthor("Anope");
Implementation i[] = { I_OnReload, I_OnChannelModeSet, I_OnChannelModeUnset, I_OnPreCommand, I_OnUserConnect, I_OnChannelModeAdd, I_OnChannelCreate };
@@ -347,6 +344,9 @@ class OSDefcon : public Module
ModuleManager::RegisterService(&commandosdefcon);
this->OnReload();
if (!DConfig.defaultlevel)
throw ModuleException("Invalid configuration settings");
}
void OnReload()