summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-07-07 04:56:38 +0200
committerFlorent Le Coz <louiz@louiz.org>2012-07-07 04:56:38 +0200
commit5745a3e8f090618158044fd1a91b0f26f1150a30 (patch)
tree21188d3168966fa813aac1d1142e9a3ac9d70be0 /plugins
parent8739662e311a97839dececf7817d9ff12701dd5e (diff)
downloadpoezio-5745a3e8f090618158044fd1a91b0f26f1150a30.tar.gz
poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.tar.bz2
poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.tar.xz
poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.zip
typo or something like that…
Diffstat (limited to 'plugins')
-rw-r--r--plugins/replace.py2
1 files changed, 1 insertions, 1 deletions
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)