From 9c7c384d22effb10c35b608ec6fc13fc5c47fe0b Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 25 Mar 2005 15:45:44 +0000 Subject: [PATCH] Google.metagoogle -> Google.meta --- plugins/Google/plugin.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/Google/plugin.py b/plugins/Google/plugin.py index eee758750..ed03e1b07 100644 --- a/plugins/Google/plugin.py +++ b/plugins/Google/plugin.py @@ -211,7 +211,7 @@ class Google(callbacks.PluginRegexp): 'notsafe':'', 'similar':''}), many('something')]) - def metagoogle(self, irc, msg, args, optlist, text): + def meta(self, irc, msg, args, optlist, text): """ [--(language,restrict)=] [--{similar,notsafe}] Searches google and gives all the interesting meta information about @@ -237,10 +237,10 @@ class Google(callbacks.PluginRegexp): meta.searchTime, categories and format(' Categories include %L.',categories)) irc.reply(s) - metagoogle = wrap(metagoogle, [getopts({'language':'something', - 'restrict':'something', - 'notsafe':'', 'similar':''}), - many('something')]) + meta= wrap(meta, [getopts({'language':'something', + 'restrict':'something', + 'notsafe':'', 'similar':''}), + many('something')]) _cacheUrlRe = re.compile('([^<]+)') def cache(self, irc, msg, args, url):