Fixing .reload again :')
This commit is contained in:
parent
b69b9784ba
commit
a75dcbb6c2
|
@ -21,8 +21,7 @@ def reload(bot: irc3.IrcBot, mask: IrcString, target: IrcString,
|
|||
"""
|
||||
plugin = args.get('<plugin>')
|
||||
if plugin:
|
||||
plugin = '{}.{}'.format(plugin, MODULE)
|
||||
bot.reload(plugin)
|
||||
bot.reload('{}.{}'.format(MODULE, plugin))
|
||||
bot.privmsg(target, 'Reloaded plugin "{}"'.format(plugin))
|
||||
else:
|
||||
bot.reload()
|
||||
|
|
Loading…
Reference in New Issue
Block a user