Made #ls-trusted always send in pm

This commit is contained in:
Juhani Haverinen 2013-11-13 21:12:05 +02:00
parent 7373f7ee7d
commit f81cf2d2bd
1 changed files with 1 additions and 4 deletions

View File

@ -159,10 +159,7 @@ def parse((line,irc)):
irc.send('PRIVMSG %s :Usage #trust nick'%chan)
elif line[3]==':#ls-trusted':
trustedlock.acquire()
if chan!=nick:
irc.send('KICK %s %s :Just don\'t'%(chan,nick))
else:
irc.send('PRIVMSG %s :%s'%(chan,', '.join(trusted)))
irc.send('PRIVMSG %s :%s'%(nick,', '.join(trusted)))
trustedlock.release()
elif line[3]==':#help':
irc.send('PRIVMSG %s :%s'%(chan,help(' '.join(line[4:]))))