Change alias definitions to be global, so aliases can be reused across different networks
This commit is contained in:
@@ -19,7 +19,7 @@ class EnableCommand:
|
||||
return
|
||||
|
||||
main.network[spl[1]].relays[int(spl[2])]["enabled"] = True
|
||||
user = main.network[spl[1]].aliases[int(spl[2])]["nick"]
|
||||
user = main.alias[int(spl[2])]["nick"]
|
||||
network = spl[1]
|
||||
commands = {"status": ["Connect"]}
|
||||
deliverRelayCommands(int(spl[2]), commands, user=user+"/"+network)
|
||||
|
||||
Reference in New Issue
Block a user