aboutsummaryrefslogtreecommitdiffstats
path: root/server/user.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2011-05-04 01:07:58 -0400
committerGuillaume Horel <guillaume.horel@gmail.com>2011-05-04 01:07:58 -0400
commite85fffabbb61ca964f35561e00c382a180166f64 (patch)
treeef6ced333ad2bac6c78567d9247fc07c249dfb03 /server/user.py
parent312583b52777046637c942f840ae77e9bd4175ad (diff)
downloadalias-e85fffabbb61ca964f35561e00c382a180166f64.tar.gz
Registration should be fully functional now.
this fixes #7
Diffstat (limited to 'server/user.py')
-rw-r--r--server/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/user.py b/server/user.py
index c6e6e87..a818005 100644
--- a/server/user.py
+++ b/server/user.py
@@ -17,7 +17,8 @@ class User:
ObjectWriter(self.hash).create_root_object(self.jid, registration)
def get_registration(self):
- ObjectReader(self.hash).get_content(self.jid)
+ registration, key = ObjectReader(self.hash).get_content(self.jid)
+ return registration
def registered(self):
return Object(self.hash).exists()