mirror of
https://github.com/sys-fs/seddy
synced 2024-11-25 20:47:51 -05:00
Remove references to haiku
This commit is contained in:
parent
6e8cc1681e
commit
ccff7d408c
4
seddy.py
4
seddy.py
@ -70,13 +70,13 @@ def seddy(sed, history, parser):
|
||||
regex = parser.split(sed)
|
||||
|
||||
if len(regex) < 4:
|
||||
return choice(haiku)
|
||||
return False
|
||||
if 'i' in regex[3]:
|
||||
f |= re.I
|
||||
try:
|
||||
msg = history.find(regex[1], f)
|
||||
except:
|
||||
return choice(haiku)
|
||||
return False
|
||||
if "g" in regex[3]:
|
||||
res = msg_replace(regex[1], regex[2], msg, 0, f)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user