diff --git a/bin/auto b/bin/auto index 0bb7ef0..01c9c30 100755 --- a/bin/auto +++ b/bin/auto @@ -174,6 +174,9 @@ else { $APID = $$; } +# Events. +API::Std::event_add("on_preconnect"); + # Load modules. if (conf_get("module")) { alog "* Loading modules..."; @@ -184,7 +187,6 @@ if (conf_get("module")) { } ## Create sockets. -API::Std::event_add("on_preconnect"); alog "* Connecting to servers..."; dbug "* Connecting to servers..."; # Get servers from config.