mirror of
https://github.com/sys-fs/seddy
synced 2024-11-26 04:57:18 -05:00
Fix borking of ACTION sedding
This commit is contained in:
parent
74efcd0f66
commit
ed99ca5c9d
8
seddy.py
8
seddy.py
@ -86,8 +86,12 @@ def notice(msg):
|
|||||||
send.flush()
|
send.flush()
|
||||||
|
|
||||||
def privmsg(msg):
|
def privmsg(msg):
|
||||||
send.write('PRIVMSG ' + channel + ' :' +
|
if msg[:7] == '\x01ACTION':
|
||||||
''.join(c for c in msg if c.isprintable()) + '\r\n')
|
send.write('PRIVMSG ' + channel + ' :' + '\x01' +
|
||||||
|
''.join(c for c in msg if c.isprintable()) + '\x01\r\n')
|
||||||
|
else:
|
||||||
|
send.write('PRIVMSG ' + channel + ' :' +
|
||||||
|
''.join(c for c in msg if c.isprintable()) + '\r\n')
|
||||||
send.flush()
|
send.flush()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user