From: CMDR furrycat Date: Thu, 2 Mar 2017 10:29:04 +0000 (+0000) Subject: Fixed error when failing to parse a server name. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=a4290f60240c7818d0aaafcc91fd3d69e1017719;p=furrycat%2Fcatbot.git Fixed error when failing to parse a server name. --- diff --git a/plugin/admin/admin.py b/plugin/admin/admin.py index 24a47de..9fa84f1 100644 --- a/plugin/admin/admin.py +++ b/plugin/admin/admin.py @@ -164,7 +164,7 @@ class Admin(object): server = bot.parse_server(where) if server is None: - await bot.say(message.channel, '{}?'.format(server)) + await bot.say(message.channel, '{}?'.format(where)) return parsed = bot.parse_mention(who, message.author)