1
0
mirror of https://github.com/sys-fs/seddy synced 2024-11-22 11:54:16 -05:00

Fix own stupidity

This commit is contained in:
Thomas Mannay 2017-03-11 19:50:56 +00:00 committed by GitHub
parent aea68aa4e4
commit 1942431d3c

View File

@ -121,6 +121,7 @@ if __name__ == "__main__":
if '.source ' + nick in msg[:8 + len(nick)]: if '.source ' + nick in msg[:8 + len(nick)]:
notice('[Python] https://github.com/sys-fs/seddy') notice('[Python] https://github.com/sys-fs/seddy')
elif is_sed.match(msg): elif is_sed.match(msg):
foo = ''.join(c for c in seddy(msg, history) if c not in '\r\n') foo = seddy(msg,history)
foo = ''.join(c for c in foo if c not in '\r\n')
if foo != False: if foo != False:
privmsg(re.sub('\\\\/', '/', foo)) privmsg(re.sub('\\\\/', '/', foo))