X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?p=irc.git;a=blobdiff_plain;f=commands.py;h=9d5dcb450f5765feb1a27a744be68662be14eee3;hp=fa80e00e74851c7880260ca50f17b70bc14987b5;hb=af43f489ee6ba5bc49b4650f0b804fdb3f21ca15;hpb=8bd3b96ce28679f7396d9764e816486b9ce6ba31 diff --git a/commands.py b/commands.py index fa80e00..9d5dcb4 100644 --- a/commands.py +++ b/commands.py @@ -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 @@ -246,7 +246,7 @@ def defineq(bot, cmd, nick, conn, public): # first
  • in a