chiark / gitweb /
use google.co.uk for definitions
authorMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Fri, 7 Aug 2009 14:19:41 +0000 (15:19 +0100)
committerMatthew Vernon <matthew@rapun.sel.cam.ac.uk>
Fri, 7 Aug 2009 14:19:41 +0000 (15:19 +0100)
commands.py

index fa80e00..7e4a94c 100644 (file)
@@ -233,7 +233,7 @@ def googleq(bot, cmd, nick, conn, public):
 # Look up the definition of something using google
 def defineq(bot, cmd, nick, conn, public):
     cmdrest = string.join(cmd.split()[1:])
-    targ = ("http://www.google.com/search?q=define%%3A%s&ie=utf-8&oe=utf-8"
+    targ = ("http://www.google.co.uk/search?q=define%%3A%s&ie=utf-8&oe=utf-8"
             % urllib.quote_plus(cmdrest))
     try:
         # Just slurp everything into a string