mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
Fix for developer account database
This commit is contained in:
parent
3ce32fe9d5
commit
f4598d9141
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class DistributedReportMgrAI(DistributedObjectAI):
|
|||
self.reports.append('%s|%s|%s|%s' % (timestamp, reporterId, avId, category))
|
||||
|
||||
def sendAllReports(self):
|
||||
if not self.reports:
|
||||
if not self.reports or config.GetString('accountdb-type', 'developer') != 'remote'::
|
||||
return
|
||||
|
||||
executeHttpRequestAndLog('report', reports=','.join(self.reports))
|
||||
|
|
|
@ -15,7 +15,7 @@ class TrueFriendsMgrAI(DistributedObjectAI):
|
|||
if not av:
|
||||
return
|
||||
|
||||
if simbase.config.GetString('accountdb-type', 'developer') != 'remote':
|
||||
if config.GetString('accountdb-type', 'developer') != 'remote':
|
||||
self.sendUpdateToAvatarId(avId, 'requestIdResult', [0, None, None])
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue