summaryrefslogtreecommitdiff
path: root/plugins/replace.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-04-08 11:38:29 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-04-08 11:38:29 +0100
commit6ab49c188a6e5bb95773165f0bdbd672b41c8c81 (patch)
treed95da1a45124096cde6fb4fb073a0743a7de5b2c /plugins/replace.py
parent0551867bfdb8dfa7dbd5964a15a1a950510e2c71 (diff)
downloadpoezio-6ab49c188a6e5bb95773165f0bdbd672b41c8c81.tar.gz
poezio-6ab49c188a6e5bb95773165f0bdbd672b41c8c81.tar.bz2
poezio-6ab49c188a6e5bb95773165f0bdbd672b41c8c81.tar.xz
poezio-6ab49c188a6e5bb95773165f0bdbd672b41c8c81.zip
Fix tab.name not being a string by calling the right property
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins/replace.py')
-rw-r--r--plugins/replace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/replace.py b/plugins/replace.py
index 7e259dab..8ec91f70 100644
--- a/plugins/replace.py
+++ b/plugins/replace.py
@@ -106,7 +106,7 @@ def replace_random_user(message, tab):
else:
# that doesn’t make any sense. By why use this pattern in a
# ConversationTab anyway?
- return str(tab.name)
+ return tab.name.full
def replace_dice(message, tab):