Fix method call error.

This commit is contained in:
Lance Stout 2011-01-10 16:33:30 -05:00
parent 4487a90623
commit a5d53b3349

View file

@ -61,7 +61,7 @@ class Roster(object):
key -- Return the roster for this JID. key -- Return the roster for this JID.
""" """
if key not in self._rosters: 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_authorize = self.auto_authorize
self._rosters[key].auto_subscribe = self.auto_subscribe self._rosters[key].auto_subscribe = self.auto_subscribe
return self._rosters[key] return self._rosters[key]