summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.py b/src/logger.py
index 8dfb25ea..946c2bab 100644
--- a/src/logger.py
+++ b/src/logger.py
@@ -49,7 +49,7 @@ class Logger(object):
Check that the directory where we want to log the messages
exists. if not, create it
"""
- if config.get('use_log', 'false') == 'false':
+ if config.get_by_tabname('use_log', 'false', room) == 'false':
return None
directory = os.path.join(DATA_HOME, 'logs')
try: