]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mood: Do not handle events if no mood is active.
authorAndre Noll <maan@systemlinux.org>
Sun, 6 Sep 2009 20:23:45 +0000 (22:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Sep 2009 20:23:45 +0000 (22:23 +0200)
In case a file is being removed with "para_client rm" while in playlist mode,
the following assertion triggers:

mood.c:521: del_afs_statistics: Assertion `n' failed.

This happens because the file is contained in the score table but statistics are not enabled.
Fix it by ignoring events if cuurent_mood is NULL.


No differences found