Bold, for Strike. And also a bugfix, so it's not an entirely useless commit :)

This commit is contained in:
Jeremy Fincher 2003-09-05 20:53:49 +00:00
parent 7f77e68384
commit 2484ce94be

View File

@ -42,6 +42,7 @@ import dictclient
import conf import conf
import debug import debug
import utils import utils
import ircutils
import privmsgs import privmsgs
import callbacks import callbacks
@ -125,7 +126,7 @@ class Dict(callbacks.Privmsg):
irc.reply(msg, 'No definition for %r could be found.' % word) irc.reply(msg, 'No definition for %r could be found.' % word)
else: else:
irc.reply(msg, 'No definition for %r could be found in %s' % \ irc.reply(msg, 'No definition for %r could be found in %s' % \
(word, dictionary)) (word, ircutils.bold(dictionary)))
return return
L = [] L = []
for d in definitions: for d in definitions:
@ -144,7 +145,7 @@ class Dict(callbacks.Privmsg):
(utils.commaAndify(dbs), len(L), '; '.join(L)) (utils.commaAndify(dbs), len(L), '; '.join(L))
irc.reply(msg, s) irc.reply(msg, s)
else: else:
irc.reply('; '.join(L)) irc.reply(msg, '; '.join(L))
Class = Dict Class = Dict