Added ignore/unignore aliases for block/unblock

This commit is contained in:
red-agent 2009-10-04 22:11:19 +03:00
parent d7e4ab3eb7
commit b7ed152624
1 changed files with 2 additions and 2 deletions

View File

@ -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)