From a941b978d804179df2b0a8e5475f83ed04606a36 Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Fri, 11 Nov 2016 10:07:40 +0000 Subject: [PATCH] Don't lose the args after parsing channel. --- plugin/announcements/announcements.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/announcements/announcements.py b/plugin/announcements/announcements.py index 0d328d0..5690c1f 100644 --- a/plugin/announcements/announcements.py +++ b/plugin/announcements/announcements.py @@ -528,10 +528,10 @@ class Announcements(DBConnection): parsed[k] = 'private' ok = True elif param: - args = {} + parse = {} if arg == 'in': - args['voice_ok'] = False - channel = bot.parse_channel(param, **args) + parse['voice_ok'] = False + channel = bot.parse_channel(param, **parse) if channel is not None: parsed[k] = channel.id ok = True -- 2.7.4