Skip to content
Snippets Groups Projects
Unverified Commit de329fa2 authored by drebs's avatar drebs
Browse files

[bug] pass command parts to mail disable dispatcher

A missing command parts argument to mail subcommand dispatcher caused
the `mail disable` command to never be executed.
parent 529395ff
Branches
Tags
No related merge requests found
...@@ -381,7 +381,7 @@ class CommandDispatcher(object): ...@@ -381,7 +381,7 @@ class CommandDispatcher(object):
return _format_result({'mail': 'disabled'}) return _format_result({'mail': 'disabled'})
if subcmd == 'disable': if subcmd == 'disable':
d = dispatch(self.core) d = dispatch(self.core, *parts)
elif subcmd != 'enable': elif subcmd != 'enable':
d = dispatch(mail, *parts, **kw) d = dispatch(mail, *parts, **kw)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment