{"action":"created","issue":{"url":"https://api.github.com/repos/Bluethefurry/EasyAdmin/issues/18","repository_url":"https://api.github.com/repos/Bluethefurry/EasyAdmin","labels_url":"https://api.github.com/repos/Bluethefurry/EasyAdmin/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Bluethefurry/EasyAdmin/issues/18/comments","events_url":"https://api.github.com/repos/Bluethefurry/EasyAdmin/issues/18/events","html_url":"https://github.com/Bluethefurry/EasyAdmin/issues/18","id":318216344,"number":18,"title":"Fixing banlist issue","user":{"login":"Ascaped","id":28271281,"avatar_url":"https://avatars0.githubusercontent.com/u/28271281?v=4","gravatar_id":"","url":"https://api.github.com/users/Ascaped","html_url":"https://github.com/Ascaped","followers_url":"https://api.github.com/users/Ascaped/followers","following_url":"https://api.github.com/users/Ascaped/following{/other_user}","gists_url":"https://api.github.com/users/Ascaped/gists{/gist_id}","starred_url":"https://api.github.com/users/Ascaped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ascaped/subscriptions","organizations_url":"https://api.github.com/users/Ascaped/orgs","repos_url":"https://api.github.com/users/Ascaped/repos","events_url":"https://api.github.com/users/Ascaped/events{/privacy}","received_events_url":"https://api.github.com/users/Ascaped/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T22:17:49Z","updated_at":"2018-04-27T10:02:29Z","closed_at":"2018-04-27T10:02:29Z","author_association":"NONE","body":"https://github.com/Bluethefurry/EasyAdmin/blob/41e6348a55860338bdd2d0067393b571328f45c9/admin_server.lua#L422\r\n\r\n`AddEventHandler('playerConnecting', function(playerName, setKickReason)\r\n\t\tlocal numIds = GetPlayerIdentifiers(source)\r\n\t\tlocal content = LoadResourceFile(GetCurrentResourceName(), \"banlist.json\")\r\n\t\ttestblacklist = json.decode(content)\r\n\t\tfor bi,blacklisted in ipairs(testblacklist) do\r\n\t\t\tfor i,theId in ipairs(numIds) do\r\n\t\t\t\tif blacklisted.identifier == theId then\r\n\t\t\t\t\tCitizen.Trace(\"user is banned\")\r\n\t\t\t\t\tsetKickReason(string.format( strings.bannedjoin, testblacklist[bi].reason, os.date('%d/%m/%Y \t%H:%M:%S', testblacklist[bi].expire )))\r\n\t\t\t\t\tprint(\"Connection Refused, Blacklisted for \"..testblacklist[bi].reason..\"!\\n\")\r\n\t\t\t\t\tCancelEvent()\r\n\t\t\t\t\treturn\r\n\t\t\t\tend\r\n\t\t\tend\r\n\t\tend\r\n\tend)`"},"comment":{"url":"https://api.github.com/repos/Bluethefurry/EasyAdmin/issues/comments/384925976","html_url":"https://github.com/Bluethefurry/EasyAdmin/issues/18#issuecomment-384925976","issue_url":"https://api.github.com/repos/Bluethefurry/EasyAdmin/issues/18","id":384925976,"user":{"login":"Bluethefurry","id":13604413,"avatar_url":"https://avatars1.githubusercontent.com/u/13604413?v=4","gravatar_id":"","url":"https://api.github.com/users/Bluethefurry","html_url":"https://github.com/Bluethefurry","followers_url":"https://api.github.com/users/Bluethefurry/followers","following_url":"https://api.github.com/users/Bluethefurry/following{/other_user}","gists_url":"https://api.github.com/users/Bluethefurry/gists{/gist_id}","starred_url":"https://api.github.com/users/Bluethefurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bluethefurry/subscriptions","organizations_url":"https://api.github.com/users/Bluethefurry/orgs","repos_url":"https://api.github.com/users/Bluethefurry/repos","events_url":"https://api.github.com/users/Bluethefurry/events{/privacy}","received_events_url":"https://api.github.com/users/Bluethefurry/received_events","type":"User","site_admin":false},"created_at":"2018-04-27T10:02:29Z","updated_at":"2018-04-27T10:02:29Z","author_association":"OWNER","body":"if you want to fix an issue or propose a fix, use pull requests, not issues."}}
{"actor":{"display_login":"Bluethefurry"}}