Dict: Refer to the server config variable in Dict.dict's help.

Closes: Sf#3056621
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit bc98577fb1)

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
James Vega 2010-08-31 18:46:05 -04:00 committed by Daniel Folkinshteyn
parent 828b82ea9c
commit d6423cad67

View File

@ -79,7 +79,8 @@ class Dict(callbacks.Plugin):
def dict(self, irc, msg, args, words):
"""[<dictionary>] <word>
Looks up the definition of <word> on dict.org's dictd server.
Looks up the definition of <word> on the dictd server specified by
the supybot.plugins.Dict.server config variable.
"""
try:
server = conf.supybot.plugins.Dict.server()