From b042a07c6970e404b97c4b476a98a3b5411ec1d8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 1 Apr 2014 23:55:26 +0200 Subject: Fix activation of mood/activity which was inverted --- src/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core.py b/src/core.py index 1cdf9e6c..caa3ae19 100644 --- a/src/core.py +++ b/src/core.py @@ -2816,14 +2816,14 @@ class Core(object): shortdesc=_('Get the activity of someone.'), completion=self.completion_last_activity) - if config.get('enable_user_mood', True): + if config.get('enable_user_activity', True): self.register_command('activity', self.command_activity, usage='[ [specific] [text]]', desc=_('Send your current activity to your contacts (use the completion).' ' Nothing means "stop broadcasting an activity".'), shortdesc=_('Send your activity.'), completion=self.completion_activity) - if config.get('enable_user_activity', True): + if config.get('enable_user_mood', True): self.register_command('mood', self.command_mood, usage='[ [text]]', desc=_('Send your current mood to your contacts (use the completion).' -- cgit v1.2.3