Commit 3c877179 authored by Svetlana Tkachenko's avatar Svetlana Tkachenko
Browse files

Add 'die' to admintools commands (fixes issue ; thanks, Nem0.)

parent a75ec5f1
......@@ -25,7 +25,7 @@ class AdminTools(object):
def __init__(self, server):
self.server = server
self.server.pluginManager.loadPlugin("auth")
self.commands = ["nick", "join", "part", "kick", "ban", "mute", "unban", "unmute", "op", "deop", "voice", "devoice", "unop", "unvoice", "attrs"]
self.commands = ["nick", "join", "part", "kick", "ban", "mute", "unban", "unmute", "op", "deop", "voice", "devoice", "unop", "unvoice", "attrs", "die"]
self.server.handle("command", self.handle_command, self.commands)
def handle_command(self, channel, user, cmd, args):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment