From 7705d4842514e0e0a63b414d427759aedade106f Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 26 Nov 2015 22:57:52 -0800 Subject: [PATCH] commands: update irc.botdata in REHASH too --- plugins/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands.py b/plugins/commands.py index 3afe540..bf4b679 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -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: