mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-12 13:12:35 +01:00
parent
48b5016f41
commit
828112eaa1
@ -77,7 +77,7 @@ class DDG(callbacks.Plugin):
|
|||||||
irc.getCallback('DDG').search_core(...)
|
irc.getCallback('DDG').search_core(...)
|
||||||
"""
|
"""
|
||||||
if show_snippet is None:
|
if show_snippet is None:
|
||||||
# Note: don't use ternary there, or the registry value will override any False
|
# Note: don't use ternary here, or the registry value will override any False
|
||||||
# settings given to the function directly.
|
# settings given to the function directly.
|
||||||
show_snippet = self.registryValue("showSnippet", channel_context)
|
show_snippet = self.registryValue("showSnippet", channel_context)
|
||||||
maxr = max_results or self.registryValue("maxResults", channel_context)
|
maxr = max_results or self.registryValue("maxResults", channel_context)
|
||||||
|
Loading…
Reference in New Issue
Block a user