From 0cc386e7f76213233e2b348f9010d20dd8b8bd3b Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 23 Apr 2003 22:32:55 +0000 Subject: [PATCH] Change notification to only-notify-of-unnotified-messages. --- plugins/Notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Notes.py b/plugins/Notes.py index 26aef0122..cb76e2be1 100644 --- a/plugins/Notes.py +++ b/plugins/Notes.py @@ -131,7 +131,7 @@ class Notes(callbacks.Privmsg): notes.to_id=users.id AND notified=0""", name) unnotified = int(cursor.fetchone()[0]) - if unread + unnotified == 0: + if unnotified != 0: return s = 'You have %s unread note%s ' \ '%s that I haven\'t told you about before now..' % \