[reload] Copy bugfix from sfan5/phenny@0d1381e632

master
sfan5 2016-08-03 23:31:02 +02:00
parent 03fd6b2017
commit 12d6c11e6b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def f_reload(phenny, input):
mtime = os.path.getmtime(module.__file__)
modified = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(mtime))
phenny.register(vars(module))
phenny.register(vars(module), name)
phenny.bind_commands()
phenny.reply('%r (version: %s)' % (module, modified))