From db709745049fa4410855d09e6f182219a57570f3 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Thu, 8 Oct 2015 23:59:24 +0200 Subject: [PATCH] [alias] Fix old issues --- modules/alias.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/alias.py b/modules/alias.py index 35f9f83..22afb95 100644 --- a/modules/alias.py +++ b/modules/alias.py @@ -165,7 +165,7 @@ def cmd_listvars(msg): if len(msg.args): res = list() for user in msg.args: - als = [v["alias"] for v in list_variables(user)] + als = [v["name"] for v in list_variables(user)] if len(als) > 0: res.append("%s's variables: %s" % (user, ", ".join(als))) else: @@ -186,7 +186,7 @@ def cmd_set(msg): if len(msg.args) < 2: raise IRCException("!set take two args: the key and the value.") set_variable(msg.args[0], " ".join(msg.args[1:]), msg.nick) - return Response("Variable \$%s successfully defined." % msg.args[0], + return Response("Variable $%s successfully defined." % msg.args[0], channel=msg.channel)