Change notification to only-notify-of-unnotified-messages.

This commit is contained in:
Jeremy Fincher 2003-04-23 22:32:55 +00:00
parent 3f764eab0f
commit 0cc386e7f7

View File

@ -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..' % \