3
0
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:
James Lu 2015-11-26 22:57:52 -08:00
parent f8cc297522
commit 7705d48425

View File

@ -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: