aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-30 14:56:57 +0000
committerGravatar jesopo2020-01-30 14:56:57 +0000
commitb296a2df05530382a87ff793e9dbd57659db7dab (patch)
tree6a4a086a9010de526846cb834413496a5999a2f6 /modules
parentbump IRCBuffer MAX_LINES to 1024 (diff)
signature
add IRCBuffer.BufferLine.format() - /me vs message formatting
Diffstat (limited to 'modules')
-rw-r--r--modules/quotes.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/quotes.py b/modules/quotes.py
index f6dd223f..a843bdfb 100644
--- a/modules/quotes.py
+++ b/modules/quotes.py
@@ -134,10 +134,7 @@ class Module(ModuleManager.BaseModule):
lines_str = []
for line in lines:
- if line.action:
- lines_str.append("* %s %s" % (line.sender, line.message))
- else:
- lines_str.append("<%s> %s" % (line.sender, line.message))
+ lines_str.append(line.format())
text = " ".join(lines_str)
quotes.append([event["user"].name, int(time.time()), text])