From fc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sat, 15 Nov 2008 05:33:14 +0500 Subject: Some bugs fixed --- core/rostermanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/rostermanager.lua') diff --git a/core/rostermanager.lua b/core/rostermanager.lua index 9a203337..504d9961 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -234,7 +234,7 @@ function unsubscribed(username, host, jid) 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 -- cgit v1.2.3