mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:46:40 +02:00
Rewrote how commands are handled within Anope.
This allows naming commands and having spaces within command names.
This commit is contained in:
+3
-1
@@ -110,7 +110,7 @@ class UplinkSocket : public ConnectionSocket
|
||||
|
||||
~UplinkSocket()
|
||||
{
|
||||
if (Me && Me->GetUplink() && Me->GetUplink()->IsSynced())
|
||||
if (Me && !Me->GetLinks().empty() && Me->GetLinks()[0]->IsSynced())
|
||||
{
|
||||
FOREACH_MOD(I_OnServerDisconnect, OnServerDisconnect());
|
||||
|
||||
@@ -397,6 +397,8 @@ int main(int ac, char **av, char **envp)
|
||||
quitmsg = "Terminating, reason unknown";
|
||||
Log() << quitmsg;
|
||||
|
||||
delete UplinkSock;
|
||||
|
||||
ModuleManager::UnloadAll();
|
||||
SocketEngine::Shutdown();
|
||||
for (Module *m; (m = ModuleManager::FindFirstOf(PROTOCOL)) != NULL;)
|
||||
|
||||
Reference in New Issue
Block a user