Change alias definitions to be global, so aliases can be reused across different networks
This commit is contained in:
@@ -22,7 +22,7 @@ class DisableCommand:
|
||||
failure("No such relay: %s in network %s" % (spl[2], spl[1]))
|
||||
return
|
||||
main.network[spl[1]].relays[relayNum]["enabled"] = False
|
||||
user = main.network[spl[1]].aliases[relayNum]["nick"]
|
||||
user = main.alias[relayNum]["nick"]
|
||||
network = spl[1]
|
||||
relay = main.network[spl[1]].relays[relayNum]
|
||||
commands = {"status": ["Disconnect"]}
|
||||
|
||||
Reference in New Issue
Block a user