Prevent #help from triggering copycats
This commit is contained in:
parent
fbd936d765
commit
054c257354
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ def parse((line,irc)):
|
||||||
elif line[3]==':#help':
|
elif line[3]==':#help':
|
||||||
helptext=help(' '.join(line[4:]))
|
helptext=help(' '.join(line[4:]))
|
||||||
if helptext:
|
if helptext:
|
||||||
irc.send('PRIVMSG %s :%s'%(chan,helptext))
|
irc.send('PRIVMSG %s : %s'%(chan,helptext))
|
||||||
elif line[3]==':#esoteric' and chan=='#esoteric':
|
elif line[3]==':#esoteric' and chan=='#esoteric':
|
||||||
irc.send('PRIVMSG %s :Nothing here'%chan)
|
irc.send('PRIVMSG %s :Nothing here'%chan)
|
||||||
elif line[3][1:] in ('oonbotti:', 'oonbotti', 'oonbotti,', 'oonbotti2', 'oonbotti2:', 'oonbotti2,'):
|
elif line[3][1:] in ('oonbotti:', 'oonbotti', 'oonbotti,', 'oonbotti2', 'oonbotti2:', 'oonbotti2,'):
|
||||||
|
|
Loading…
Reference in a new issue