diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2011-05-16 08:45:24 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2011-05-16 08:45:24 -0400 |
| commit | d137a319efc660e201ce227bf2e9e762edab5207 (patch) | |
| tree | c9304b936a429f2e1a4d24854b51dfb7f91f0d00 /server/user.py | |
| parent | a7adb48bae64720345440147e661b0369028b267 (diff) | |
| download | alias-d137a319efc660e201ce227bf2e9e762edab5207.tar.gz | |
Fixes in the config parser and various cleanups
Diffstat (limited to 'server/user.py')
| -rw-r--r-- | server/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/user.py b/server/user.py index d63e659..383085d 100644 --- a/server/user.py +++ b/server/user.py @@ -21,7 +21,7 @@ class User: registration, key = ObjectReader(self.hash).get_content(self.jid) return registration - def registered(self): + def is_registered(self): return Object(self.hash).exists() def unregister(self, jid): |
