diff options
Diffstat (limited to 'plugins/quote.py')
-rw-r--r-- | plugins/quote.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/quote.py b/plugins/quote.py index ba7f4ea3..a5ffd193 100644 --- a/plugins/quote.py +++ b/plugins/quote.py @@ -44,6 +44,7 @@ Options time of the message. """ +from poezio.core.structs import Completion from poezio.plugin import BasePlugin from poezio.xhtml import clean_text from poezio import common @@ -101,5 +102,5 @@ class Plugin(BasePlugin): messages = list(filter(message_match, messages)) elif len(args) > 1: return False - return the_input.auto_completion([clean_text(msg.txt) for msg in messages[::-1]], '') + return Completion(the_input.auto_completion, [clean_text(msg.txt) for msg in messages[::-1]], '') |