Oops, forgot the '% word'

This commit is contained in:
Jeremy Fincher 2003-09-03 12:21:56 +00:00
parent f06a552b73
commit c98a25d6a2

View File

@ -807,7 +807,7 @@ class FunCommands(callbacks.Privmsg):
conn = dictclient.Connection('dict.org')
definitions = conn.define('*', word)
if not definitions:
irc.reply(msg, 'No definition for %r could be found.')
irc.reply(msg, 'No definition for %r could be found.' % word)
return
L = []
utils.sortBy(lambda d: len(d.getdefstr()), definitions)