aboutsummaryrefslogtreecommitdiff
path: root/modules/quotes.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-26 15:57:07 +0000
committerGravatar jesopo2019-01-26 15:57:07 +0000
commit6e4607ea8dbc248b651ce1409a3e3dc28238a352 (patch)
treed16e7f27345c2f4b896b3aa68f18ac0165423d24 /modules/quotes.py
parentadd !quotegrab to take the last message from a user and quote it (quotes.py) (diff)
signature
`_set_quotes` needs to be given a category (quotes.py)
Diffstat (limited to 'modules/quotes.py')
-rw-r--r--modules/quotes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/quotes.py b/modules/quotes.py
index 6c8d55cf..052f46b0 100644
--- a/modules/quotes.py
+++ b/modules/quotes.py
@@ -103,7 +103,7 @@ class Module(ModuleManager.BaseModule):
quotes.append("* %s %s" % (line.sender, line.message))
else:
quotes.append("<%s> %s" % (line.sender, line.message))
- self._set_quotes(event["server"], quotes)
+ self._set_quotes(event["server"], line.sender, quotes)
event["stdout"].write("Quote added")
else:
event["stderr"].write("Nothing found to quote")