Implement more automated provisioning of aliases and relays, and remove networks cleanly

This commit is contained in:
2019-10-02 20:26:05 +01:00
parent 0f31d7f5e2
commit a3b81f8849
6 changed files with 77 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ class DisableCommand:
if name in main.FactoryPool.keys():
main.FactoryPool[name].stopTrying()
main.ReactorPool[name].disconnect()
if spl[1] in main.IRCPool.keys():
if name in main.IRCPool.keys():
del main.IRCPool[name]
del main.ReactorPool[name]
del main.FactoryPool[name]