Diff

util/filters.lua @ 5850:e8c743f4213f

Merge 0.9->0.10
author Matthew Wild <mwild1@gmail.com>
date Mon, 30 Sep 2013 23:46:38 +0100
parent 5776:bd0ff8ae98a8
parent 5849:8f451d370dd4
child 6367:769a3577dd85
line wrap: on
line diff
--- a/util/filters.lua	Sat Sep 28 22:04:04 2013 +0200
+++ b/util/filters.lua	Mon Sep 30 23:46:38 2013 +0100
@@ -52,7 +52,7 @@
 	local i = 0;
 	repeat
 		i = i + 1;
-	until not filter_list[i] or filter_list[filter_list[i]] >= priority;
+	until not filter_list[i] or filter_list[filter_list[i]] < priority;
 
 	t_insert(filter_list, i, callback);
 	filter_list[callback] = priority;