aboutsummaryrefslogtreecommitdiffstats
path: root/core/rostermanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-15 05:33:14 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-15 05:33:14 +0500
commitfc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0 (patch)
treebd20bed51780e0ca5a0a12046c10ac1d0fae691b /core/rostermanager.lua
parent22df06d27db30cae5c7d3361a4fe51ab9a89dcbc (diff)
downloadprosody-fc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0.tar.gz
prosody-fc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0.zip
Some bugs fixed
Diffstat (limited to 'core/rostermanager.lua')
-rw-r--r--core/rostermanager.lua2
1 files changed, 1 insertions, 1 deletions
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