Fix the all and allc commands so they work with the new data format
This commit is contained in:
@@ -25,11 +25,13 @@ class Network:
|
||||
self.last += 1
|
||||
num = self.last
|
||||
self.relays[num] = {
|
||||
"enabled": False,
|
||||
"enabled": main.config["ConnectOnCreate"],
|
||||
"net": self.net,
|
||||
"id": num
|
||||
}
|
||||
self.aliases[num] = alias.generate_alias()
|
||||
if main.config["ConnectOnCreate"]:
|
||||
self.start_bot(num)
|
||||
return num, self.aliases[num]["nick"]
|
||||
|
||||
def delete_relay(self, id):
|
||||
|
||||
Reference in New Issue
Block a user