summaryrefslogtreecommitdiff
path: root/poezio/tabs/muctab.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-02-20 21:52:55 +0100
committermathieui <mathieui@mathieui.net>2018-02-20 21:52:55 +0100
commitac6adbf21b71985579b81e14712ded85bf3743f2 (patch)
treeeed86a7580ada778a88a2f6ce2b9191f763598ac /poezio/tabs/muctab.py
parent87ed4aff12e6251ced6a34e50fe643b84e60790f (diff)
downloadpoezio-ac6adbf21b71985579b81e14712ded85bf3743f2.tar.gz
poezio-ac6adbf21b71985579b81e14712ded85bf3743f2.tar.bz2
poezio-ac6adbf21b71985579b81e14712ded85bf3743f2.tar.xz
poezio-ac6adbf21b71985579b81e14712ded85bf3743f2.zip
Update documentation (& formatting)
- nick colors are not random by default - /close is a useful command
Diffstat (limited to 'poezio/tabs/muctab.py')
-rw-r--r--poezio/tabs/muctab.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 9a1a0821..afe62188 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -523,16 +523,18 @@ class MucTab(ChatTab):
if '170' in status_codes:
self.add_message(
'\x19%(warn_col)s}Warning:\x19%(info_col)s}'
- ' This room is publicly logged' %
- {'info_col': info_col,
- 'warn_col': warn_col},
+ ' This room is publicly logged' % {
+ 'info_col': info_col,
+ 'warn_col': warn_col
+ },
typ=0)
if '100' in status_codes:
self.add_message(
'\x19%(warn_col)s}Warning:\x19%(info_col)s}'
- ' This room is not anonymous.' %
- {'info_col': info_col,
- 'warn_col': warn_col},
+ ' This room is not anonymous.' % {
+ 'info_col': info_col,
+ 'warn_col': warn_col
+ },
typ=0)
def handle_presence_joined(self, presence, status_codes):