aboutsummaryrefslogtreecommitdiffstats
path: root/core/rostermanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-15 00:35:09 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-15 00:35:09 +0000
commit785e99a1afd75882fed1f1f7ca8d7daa1bf34018 (patch)
tree033cd05b2127aa173d0726b9ba1c61298512249f /core/rostermanager.lua
parent1c704dcef79c640ffdbc259af63c29ac47599e89 (diff)
parentfc57c3a09a9ca234f45bb3a1e9b3d8fd8d48d2e0 (diff)
downloadprosody-785e99a1afd75882fed1f1f7ca8d7daa1bf34018.tar.gz
prosody-785e99a1afd75882fed1f1f7ca8d7daa1bf34018.zip
Merge from waqas
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 235f2aee..a08f989d 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -232,7 +232,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