mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 03:33:10 +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:
|
||||
ircobj.conf = new_conf
|
||||
ircobj.serverdata = new_conf['servers'][network]
|
||||
ircobj.botdata = new_conf['bot']
|
||||
for network, sdata in new_conf['servers'].items():
|
||||
# New server was added. Connect them if not already connected.
|
||||
if network not in world.networkobjects:
|
||||
|
Loading…
Reference in New Issue
Block a user