summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2016-09-26 16:48:11 -0300
committerdrebs <drebs@riseup.net>2016-09-30 13:10:13 -0300
commitde329fa2c08d368e03432e18010fe7991686ab5c (patch)
tree43db7127fa10bee98e91665d1d05ac96ca2015a3 /src/leap
parent529395ffdd2a3f5d6722c419c56d68dd2bc64976 (diff)
[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.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/core/dispatcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py
index 2860c88..fe85682 100644
--- a/src/leap/bitmask/core/dispatcher.py
+++ b/src/leap/bitmask/core/dispatcher.py
@@ -381,7 +381,7 @@ class CommandDispatcher(object):
return _format_result({'mail': 'disabled'})
if subcmd == 'disable':
- d = dispatch(self.core)
+ d = dispatch(self.core, *parts)
elif subcmd != 'enable':
d = dispatch(mail, *parts, **kw)