From c92386f7cf9e4e15878bbacde85c65930b70751d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 11 Apr 2003 21:36:25 +0000 Subject: [PATCH] Changed ISNULL(word) to word ISNULL. --- plugins/Markov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Markov.py b/plugins/Markov.py index 93178cb24..9b6ff9a0a 100644 --- a/plugins/Markov.py +++ b/plugins/Markov.py @@ -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)