summaryrefslogtreecommitdiff
path: root/sleekxmpp/roster.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-10 16:33:30 -0500
committerLance Stout <lancestout@gmail.com>2011-01-10 16:33:30 -0500
commita5d53b3349dc1488da57a7b02758ab1063b4560c (patch)
treedaff5df85a877cd8461a34ee0611a8dac3e90f9f /sleekxmpp/roster.py
parent4487a90623bfec9deb119074a9e0f65f97003db0 (diff)
downloadslixmpp-a5d53b3349dc1488da57a7b02758ab1063b4560c.tar.gz
slixmpp-a5d53b3349dc1488da57a7b02758ab1063b4560c.tar.bz2
slixmpp-a5d53b3349dc1488da57a7b02758ab1063b4560c.tar.xz
slixmpp-a5d53b3349dc1488da57a7b02758ab1063b4560c.zip
Fix method call error.
Diffstat (limited to 'sleekxmpp/roster.py')
-rw-r--r--sleekxmpp/roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/roster.py b/sleekxmpp/roster.py
index da485336..35e739f8 100644
--- a/sleekxmpp/roster.py
+++ b/sleekxmpp/roster.py
@@ -61,7 +61,7 @@ class Roster(object):
key -- Return the roster for this JID.
"""
if key not in self._rosters:
- self.add(key, self.db)
+ self.add(key)
self._rosters[key].auto_authorize = self.auto_authorize
self._rosters[key].auto_subscribe = self.auto_subscribe
return self._rosters[key]