Make Dunno use standardSubstitute

This commit is contained in:
Daniel Berlin 2003-11-02 03:18:39 +00:00
parent 51f80108c4
commit d557443883
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class Dunno(callbacks.Privmsg):
LIMIT 1""")
if cursor.rowcount != 0:
dunno = cursor.fetchone()[0]
dunno = dunno.replace('$who', msg.nick)
dunno = plugins.standardSubstitute(irc, msg, dunno)
irc.reply(msg, dunno, prefixName=False)
def add(self, irc, msg, args):