mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-30 07:21:16 -05:00
TextArt: Fix cq command.
This commit is contained in:
parent
7e78b0c5f9
commit
5c3bbf2c7c
@ -1758,9 +1758,13 @@ class TextArt(callbacks.Plugin):
|
|||||||
"""
|
"""
|
||||||
Stop the scroll.
|
Stop the scroll.
|
||||||
"""
|
"""
|
||||||
if not self.stopped[msg.args[0]]:
|
channel = msg.args[0]
|
||||||
|
if not irc.isChannel(channel):
|
||||||
|
channel = msg.nick
|
||||||
|
self.stopped.setdefault(channel, None)
|
||||||
|
if not self.stopped[channel]:
|
||||||
irc.reply("Stopping.")
|
irc.reply("Stopping.")
|
||||||
self.stopped[msg.args[0]] = True
|
self.stopped[channel] = True
|
||||||
|
|
||||||
cq = wrap(cq)
|
cq = wrap(cq)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user