mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 21:09:22 +01:00
Make Dunno use standardSubstitute
This commit is contained in:
parent
51f80108c4
commit
d557443883
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user