Skip to content
Snippets Groups Projects
Commit b7ed1526 authored by red-agent's avatar red-agent
Browse files

Added ignore/unignore aliases for block/unblock

parent d7e4ab3e
No related branches found
No related tags found
No related merge requests found
......@@ -218,11 +218,11 @@ class StandardGroupchatCommands(CommandContainer):
return ', '.join(nicks)
@documentation(_("Forbid an occupant to send you public or private messages"))
@command(raw=True)
@command('ignore', raw=True)
def block(self, who):
self.on_block(None, who)
@documentation(_("Allow an occupant to send you public or private messages"))
@command(raw=True)
@command('unignore', raw=True)
def unblock(self, who):
self.on_unblock(None, who)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment