summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-01 23:55:26 +0200
committermathieui <mathieui@mathieui.net>2014-04-01 23:55:26 +0200
commitb042a07c6970e404b97c4b476a98a3b5411ec1d8 (patch)
treeba284f63df7a7df6ff9df7fd7808aba926b2525f
parentb8fe5893ae915693d504f7d1f04e995d152c47be (diff)
downloadpoezio-b042a07c6970e404b97c4b476a98a3b5411ec1d8.tar.gz
poezio-b042a07c6970e404b97c4b476a98a3b5411ec1d8.tar.bz2
poezio-b042a07c6970e404b97c4b476a98a3b5411ec1d8.tar.xz
poezio-b042a07c6970e404b97c4b476a98a3b5411ec1d8.zip
Fix activation of mood/activity which was inverted
-rw-r--r--src/core.py4
1 files changed, 2 insertions, 2 deletions
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='[<general> [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='[<mood> [text]]',
desc=_('Send your current mood to your contacts (use the completion).'