diff --git a/modules/google.py b/modules/google.py index 0e486f5f..48b6b84a 100644 --- a/modules/google.py +++ b/modules/google.py @@ -21,7 +21,7 @@ class Module(ModuleManager.BaseModule): phrase = event["args"] or event["target"].buffer.get() if phrase: - safe_setting = event["channel"].get_setting("google-safesearch", + safe_setting = event["target"].get_setting("google-safesearch", True) safe = "active" if safe_setting else "off"