Added character information passthrough to update_groups, also enabled per corp groups in TS3

This commit is contained in:
2011-01-03 15:42:04 +00:00
parent a235982c55
commit b126486b69
6 changed files with 15 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ class PhpBBService(BaseDBService):
self.update_groups(username)
return { 'username': username, 'password': password }
def update_groups(self, username):
def update_groups(self, username, groups, character=None):
self._dbcursor.execute(self.SQL_CHECK_USER, [self._clean_username(username)])
row = self._dbcursor.fetchone()
user_id = row['user_id']