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

Don't let seddy receive commands via privmsg

This commit is contained in:
Thomas Mannay 2016-11-05 19:17:10 +00:00 committed by GitHub
parent 2b793d24ec
commit a9e2c51d21

View File

@ -10,7 +10,7 @@ gecos = 'A text processing bot'
receive = open('/tmp/' + server + '.in', 'r')
send = open('/tmp/' + server + '.out', 'w')
parse_msg = re.compile(' :(.*)')
parse_msg = re.compile(channel + ' :(.*)')
parse_sed = re.compile('(?<!\\\\)/')
is_sed = re.compile('^s/.*/.*')