From 5745a3e8f090618158044fd1a91b0f26f1150a30 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 7 Jul 2012 04:56:38 +0200 Subject: =?UTF-8?q?typo=20or=20something=20like=20that=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/replace.py b/plugins/replace.py index d1fbac57..5fcc971f 100644 --- a/plugins/replace.py +++ b/plugins/replace.py @@ -57,7 +57,7 @@ def replace_random_user(message, tab): return random.choice(tab.users).nick elif isinstance(tab, tabs.PrivateTab): return random.choice([JID(tab.name).resource, tab.own_nick]) - else isinstance(tab, tabs.ConversationTab): + else: # that doesn’t make any sense. By why use this pattern in a # ConversationTab anyway? return str(tab.name) -- cgit v1.2.3