From e5a5fa5c4b40918247be8486d27a1676b6d2b044 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 28 Aug 2018 12:23:57 +0100 Subject: modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging to be an object on the server object instead of an event call --- modules/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/google.py') diff --git a/modules/google.py b/modules/google.py index 237a1c58..b961186e 100644 --- a/modules/google.py +++ b/modules/google.py @@ -13,7 +13,7 @@ class Module(object): usage="[search term]") def google(self, event): - phrase = event["args"] or event["log"].get() + phrase = event["args"] or event["buffer"].get() if phrase: page = Utils.get_url(URL_GOOGLESEARCH, get_params={ "q": phrase, "key": self.bot.config[ -- cgit v1.3.1-10-gc9f91