Changed ISNULL(word) to word ISNULL.

This commit is contained in:
Jeremy Fincher 2003-04-11 21:36:25 +00:00
parent 13109d1f96
commit c92386f7cf
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ class Markov(callbacks.Privmsg, ChannelDBHandler):
channel = privmsgs.getChannel(msg, args)
db = self.getDb(channel)
cursor = db.cursor()
cursor.execute("""SELECT COUNT(*) FROM follows WHERE ISNULL(word)""")
cursor.execute("""SELECT COUNT(*) FROM follows WHERE word ISNULL""")
n = cursor.fetchone()[0]
s = 'There are %s lasts in my Markov database for %s' % (n, channel)
irc.reply(msg, s)