diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 87710322d..4e06c4af3 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -577,7 +577,7 @@ class tabbed_chat_window: tag = 'incoming' name = user.name - if text.find('/me ') == 0: + if text.startswith('/me'): ttext = name + ' ' + text[4:] + '\n' else: ttext = '<' + name + '> '