xDefcon / sinusbot-scripts

Scripts for SinusBot (sinusbot.com)
GNU General Public License v3.0
14 stars 10 forks source link

Error if config.adminGroups is undefined #7

Closed xDefcon closed 6 years ago

xDefcon commented 6 years ago

2017-11-06T14:02:01+01:00 TypeError: Cannot access member 'length' of undefined at checkPermissions (AntiProxy.js:213:29) at AntiProxy.js:226:17 at forEach (<native code>) at sendMessageToStaff (AntiProxy.js:225:9) at handleDetection (AntiProxy.js:318:13) at AntiProxy.js:288:21 2017-11-06T14:02:01+01:00 AntiProxy :338 [DEBUG] RESPONSE: { "success": true, "proxy": true, "message": "Proxy detected." } 2017-11-06T14:02:01+01:00 AntiProxy :338 [DEBUG] Passing proxy check for Client: solding - IP: 82.**** 2017-11-06T14:02:01+01:00 AntiProxy :338 [DEBUG] Fired clientIPAddress - Client: solding [82.*****].