From 9365176bbea956ef7e9cedbe3ede0e32bdbd9741 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sat, 24 Jul 2010 12:52:27 -0500 Subject: [PATCH] add quit admin command --- dr.botzo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dr.botzo.py b/dr.botzo.py index f38576f..bc699dc 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -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