add quit admin command
This commit is contained in:
parent
d58f4ade61
commit
9365176bbe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user