aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/anonymous.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-06-03 17:48:50 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-06-03 17:48:50 +0500
commit14b609e6eebb0d462f5c25180817612612285831 (patch)
tree7a7796fb5920035cfd38bf500e058df6bac48541 /util/sasl/anonymous.lua
parent164d72fde89f34ff949ccca87f10dff496728603 (diff)
downloadprosody-14b609e6eebb0d462f5c25180817612612285831.tar.gz
prosody-14b609e6eebb0d462f5c25180817612612285831.zip
SASL: Minor cleanup.
Diffstat (limited to 'util/sasl/anonymous.lua')
-rw-r--r--util/sasl/anonymous.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/anonymous.lua b/util/sasl/anonymous.lua
index f3e31a7f..6e6f0949 100644
--- a/util/sasl/anonymous.lua
+++ b/util/sasl/anonymous.lua
@@ -35,7 +35,7 @@ local function anonymous(self, message)
repeat
username = generate_uuid();
until self.profile.anonymous(username, self.realm);
- self["username"] = username;
+ self.username = username;
return "success"
end