Fixed error when failing to parse a server name.
authorCMDR furrycat <elite@furrycat.net>
Thu, 2 Mar 2017 10:29:04 +0000 (10:29 +0000)
committerCMDR furrycat <elite@furrycat.net>
Thu, 2 Mar 2017 10:29:04 +0000 (10:29 +0000)
plugin/admin/admin.py

index 24a47de..9fa84f1 100644 (file)
@@ -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)