aboutsummaryrefslogtreecommitdiff
path: root/modules/google.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/google.py')
-rw-r--r--modules/google.py2
1 files changed, 1 insertions, 1 deletions
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[