mirror of
https://github.com/sys-fs/seddy
synced 2024-11-25 20:47:51 -05:00
Don't let seddy receive commands via privmsg
This commit is contained in:
parent
2b793d24ec
commit
a9e2c51d21
2
seddy.py
2
seddy.py
@ -10,7 +10,7 @@ gecos = 'A text processing bot'
|
|||||||
receive = open('/tmp/' + server + '.in', 'r')
|
receive = open('/tmp/' + server + '.in', 'r')
|
||||||
send = open('/tmp/' + server + '.out', 'w')
|
send = open('/tmp/' + server + '.out', 'w')
|
||||||
|
|
||||||
parse_msg = re.compile(' :(.*)')
|
parse_msg = re.compile(channel + ' :(.*)')
|
||||||
parse_sed = re.compile('(?<!\\\\)/')
|
parse_sed = re.compile('(?<!\\\\)/')
|
||||||
is_sed = re.compile('^s/.*/.*')
|
is_sed = re.compile('^s/.*/.*')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user