git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47674fe
)
Don't lose the args after parsing channel.
author
CMDR furrycat
<elite@furrycat.net>
Fri, 11 Nov 2016 10:07:40 +0000
(10:07 +0000)
committer
CMDR furrycat
<elite@furrycat.net>
Fri, 11 Nov 2016 10:07:40 +0000
(10:07 +0000)
plugin/announcements/announcements.py
patch
|
blob
|
history
diff --git
a/plugin/announcements/announcements.py
b/plugin/announcements/announcements.py
index
0d328d0
..
5690c1f
100644
(file)
--- 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