summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/search.rb (renamed from data/rbot/plugins/google.rb)4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/google.rb b/data/rbot/plugins/search.rb
index 8c573c39..8118b263 100644
--- a/data/rbot/plugins/google.rb
+++ b/data/rbot/plugins/search.rb
@@ -4,7 +4,7 @@ Net::HTTP.version_1_2
GOOGLE_WAP_LINK = /<a accesskey="(\d)" href=".*?u=(.*?)">(.*?)<\/a>/im
-class GooglePlugin < Plugin
+class SearchPlugin < Plugin
def help(plugin, topic="")
"google <string> => search google for <string>"
end
@@ -35,7 +35,7 @@ class GooglePlugin < Plugin
end
end
-plugin = GooglePlugin.new
+plugin = SearchPlugin.new
plugin.map "search *words", :action => 'google'
plugin.map "google *words", :action => 'google'