summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-12-15 20:29:37 +0100
committermathieui <mathieui@mathieui.net>2012-12-15 20:29:37 +0100
commit9f7a16141ab7f4ac6b094eb5d0836507e3edf80c (patch)
treea1bc58b634aad1e84dae44637038107844e6f5b2 /src
parent266ba884e50b550122fefb568888fb5d1f91fba7 (diff)
downloadpoezio-9f7a16141ab7f4ac6b094eb5d0836507e3edf80c.tar.gz
poezio-9f7a16141ab7f4ac6b094eb5d0836507e3edf80c.tar.bz2
poezio-9f7a16141ab7f4ac6b094eb5d0836507e3edf80c.tar.xz
poezio-9f7a16141ab7f4ac6b094eb5d0836507e3edf80c.zip
Fix #2172 (select which rooms are logged)
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: