aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 1b6919d..6b69096 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2938,8 +2938,7 @@ def format_nick(nick):
def tag(tagset, user=None):
if user:
- user.replace(" ", "_")
- default_tag = "nick_" + user
+ default_tag = "nick_" + user.replace(" ", "_")
else:
default_tag = 'nick_unknown'
tagsets = {