Now provides user, character, eveapi, and reddit accounts to the Service API add_user

This commit is contained in:
2010-03-22 14:17:07 +00:00
parent 6b474b1aac
commit 3f458928e4
5 changed files with 7 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ class JabberService(BaseService):
self.method = "cmd"
self.ejctl = eJabberdCtl(sudo=settings.JABBER_SUDO)
def add_user(self, username, password):
def add_user(self, username, password, **kwargs):
""" Add user to service """
if self.method == "xmpp":
if self.jabberadmin.adduser('%s@%s' % (username, settings.JABBER_SERVER), password):