Added self to add_user

This commit is contained in:
2011-08-10 22:01:36 +01:00
parent 6cb9eb04bd
commit bdf0059925

View File

@@ -30,7 +30,7 @@ class MumbleSQLService(BaseDBService):
def _gen_pwhash(password): def _gen_pwhash(password):
return hashlib.sha1(password).hexdigest() return hashlib.sha1(password).hexdigest()
def _gen_name(character): def _gen_name(self, character):
details = { 'name': character.name, details = { 'name': character.name,
'corporation': character.corporation.ticker } 'corporation': character.corporation.ticker }
if character.corporation.alliance: if character.corporation.alliance: