bugfix sed empty string
This commit is contained in:
parent
3c1c95aa3a
commit
2c70f5930b
|
@ -38,6 +38,8 @@ def collectlines(bot, trigger):
|
|||
def findandreplace(bot, trigger):
|
||||
if trigger.is_privmsg:
|
||||
return
|
||||
if not trigger.args[0]:
|
||||
return
|
||||
if not trigger.args[0].startswith('s') and trigger.args[0][-1] not in ':,':
|
||||
return
|
||||
line = ' '.join(trigger.args)
|
||||
|
|
Loading…
Reference in New Issue
Block a user