add quit admin command

This commit is contained in:
Brian S. Stephan 2010-07-24 12:52:27 -05:00
parent d58f4ade61
commit 9365176bbe
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ def on_privmsg(connection, event):
connection.join(what.split(' ')[1])
elif what.split(' ')[0] == 'part' and admin_unlocked:
connection.part(what.split(' ')[1], ' '.join(what.split(' ')[2:]))
elif what.split(' ')[0] == 'quit' and admin_unlocked:
connection.quit(' '.join(what.split(' ')[1:]))
#####
# init