diff --git a/znc.cpp b/znc.cpp index bde2454d..dac10d14 100644 --- a/znc.cpp +++ b/znc.cpp @@ -173,8 +173,6 @@ bool CZNC::HandleUserDeletion() } int CZNC::Loop() { - EnableConnectUser(); - while (true) { // Check for users that need to be deleted if (HandleUserDeletion()) { @@ -1245,6 +1243,9 @@ bool CZNC::ParseConfig(const CString& sConfig) { return false; } + // Make sure that users that want to connect do so + RestartConnectUser(); + return true; }