From: Zhorken Date: Tue, 9 Mar 2010 04:32:40 +0000 (-0500) Subject: Pokedex: Fix item links. X-Git-Url: http://git.veekun.com/zzz-dywypi.git/commitdiff_plain/8fad1528d958734817a3b1f3ad645d8d1e0c5b10 Pokedex: Fix item links. --- diff --git a/plugins/Pokedex/plugin.py b/plugins/Pokedex/plugin.py index 435e3b1..c576bd6 100644 --- a/plugins/Pokedex/plugin.py +++ b/plugins/Pokedex/plugin.py @@ -212,7 +212,7 @@ class Pokedex(callbacks.Plugin): elif isinstance(obj, tables.Item): reply_template = \ u"""{name}, an item. """ \ - """http://veekun.com/dex/abilities/{link_name}""" + """http://veekun.com/dex/items/{link_name}""" self._reply(irc, reply_template.format( name=obj.name, link_name=urllib.quote(obj.name.lower().encode('utf8')),