mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-13 02:26:24 +01:00
Added teamspeak3 fix
This commit is contained in:
@@ -91,7 +91,7 @@ class Teamspeak3Manager:
|
||||
else:
|
||||
print '1024 error'
|
||||
|
||||
print outlist
|
||||
return outlist
|
||||
|
||||
@staticmethod
|
||||
def _add_user_to_group(uid, groupname):
|
||||
@@ -125,6 +125,8 @@ class Teamspeak3Manager:
|
||||
token = ""
|
||||
|
||||
server_groups = Teamspeak3Manager._group_list()
|
||||
|
||||
if server_groups:
|
||||
if not settings.DEFAULT_ALLIANCE_GROUP in server_groups:
|
||||
Teamspeak3Manager._create_group(settings.DEFAULT_ALLIANCE_GROUP)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user