Skip to content
Snippets Groups Projects
Commit 01a9da1e authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

typo

parent 908547c7
No related branches found
No related tags found
No related merge requests found
......@@ -641,7 +641,7 @@ def print_real_text(self, text, text_tags = [], name = None):
'''this adds normal and special text. call this to add text'''
buffer = self.get_buffer()
# /me is replaced by name if name is given
if name and text.startswith('/me ') or text.startswith('/me\n'):
if name and (text.startswith('/me ') or text.startswith('/me\n')):
text = '* ' + name + text[3:]
# detect urls formatting and if the user has it on emoticons
index = self.detect_and_print_special_text(text, text_tags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment