summaryrefslogtreecommitdiff
path: root/plugins/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/admin.py')
-rw-r--r--plugins/admin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/admin.py b/plugins/admin.py
index 8f4e67a7..cb9ee37b 100644
--- a/plugins/admin.py
+++ b/plugins/admin.py
@@ -32,6 +32,9 @@ class Plugin(BasePlugin):
self.add_tab_command(MucTab, 'op', self.role('moderator'),
'/op <nick>\nOp: set the role of a nick to moderator.',
self.complete_nick)
+ self.add_tab_command(MucTab, 'mute', self.role('visitor'),
+ '/mute <nick>\nMute: set the role of a nick to visitor.',
+ self.complete_nick)
def role(self, role):
return lambda args: self.core.current_tab().command_role(args+' '+role)