mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-05-01 16:01:10 -05:00
TextArt: sanitize wttr input.
This commit is contained in:
parent
4342573369
commit
de6adf3fc8
@ -1581,6 +1581,8 @@ class TextArt(callbacks.Plugin):
|
|||||||
return
|
return
|
||||||
if not irc.isChannel(channel):
|
if not irc.isChannel(channel):
|
||||||
channel = msg.nick
|
channel = msg.nick
|
||||||
|
if "format=j" in location.lower():
|
||||||
|
return
|
||||||
optlist = dict(optlist)
|
optlist = dict(optlist)
|
||||||
if "delay" in optlist:
|
if "delay" in optlist:
|
||||||
delay = optlist.get("delay")
|
delay = optlist.get("delay")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user