Skip to content

Commit a756274

Browse files
authored
Merge pull request CloudBotIRC#144 from linuxdaemon/gonzobot+quote-no-hilight
Avoid pinging the quoted user when displaying a quote
2 parents 171ccc1 + 67f92b0 commit a756274

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/quote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
def format_quote(q, num, n_quotes):
2828
"""Returns a formatted string of a quote"""
2929
ctime, nick, msg = q
30-
return "[{}/{}] <{}> {}".format(num, n_quotes,
31-
nick, msg)
30+
return "[{}/{}] <{}\u200B{}> {}".format(num, n_quotes,
31+
nick[:1], nick[1:], msg)
3232

3333

3434
def add_quote(db, chan, target, sender, message):

0 commit comments

Comments
 (0)