Diff

core/rostermanager.lua @ 267:6303b7454ad0

Some bugs fixed
author Waqas Hussain <waqas20@gmail.com>
date Sat, 15 Nov 2008 05:33:14 +0500
parent 193:13ac34255c37
child 268:fd0607c8f179
line wrap: on
line diff
--- a/core/rostermanager.lua	Fri Nov 14 02:54:56 2008 +0000
+++ b/core/rostermanager.lua	Sat Nov 15 05:33:14 2008 +0500
@@ -234,7 +234,7 @@
 		if item.subscription == "from" then
 			item.subscription = "none";
 			changed = true;
-		elseif item.subscription == both then
+		elseif item.subscription == "both" then
 			item.subscription = "to";
 			changed = true;
 		end