mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
commands: update irc.botdata in REHASH too
This commit is contained in:
parent
f8cc297522
commit
7705d48425
@ -195,6 +195,7 @@ def rehash(irc, source, args):
|
|||||||
else:
|
else:
|
||||||
ircobj.conf = new_conf
|
ircobj.conf = new_conf
|
||||||
ircobj.serverdata = new_conf['servers'][network]
|
ircobj.serverdata = new_conf['servers'][network]
|
||||||
|
ircobj.botdata = new_conf['bot']
|
||||||
for network, sdata in new_conf['servers'].items():
|
for network, sdata in new_conf['servers'].items():
|
||||||
# New server was added. Connect them if not already connected.
|
# New server was added. Connect them if not already connected.
|
||||||
if network not in world.networkobjects:
|
if network not in world.networkobjects:
|
||||||
|
Loading…
Reference in New Issue
Block a user