{"action":"created","issue":{"url":"https://api.github.com/repos/L2J/L2J_Server/issues/111","labels_url":"https://api.github.com/repos/L2J/L2J_Server/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/L2J/L2J_Server/issues/111/comments","events_url":"https://api.github.com/repos/L2J/L2J_Server/issues/111/events","html_url":"https://github.com/L2J/L2J_Server/issues/111","id":111652982,"number":111,"title":"AntiFeedManager Fix","user":{"login":"Sponer","id":7348928,"avatar_url":"https://avatars.githubusercontent.com/u/7348928?v=3","gravatar_id":"","url":"https://api.github.com/users/Sponer","html_url":"https://github.com/Sponer","followers_url":"https://api.github.com/users/Sponer/followers","following_url":"https://api.github.com/users/Sponer/following{/other_user}","gists_url":"https://api.github.com/users/Sponer/gists{/gist_id}","starred_url":"https://api.github.com/users/Sponer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sponer/subscriptions","organizations_url":"https://api.github.com/users/Sponer/orgs","repos_url":"https://api.github.com/users/Sponer/repos","events_url":"https://api.github.com/users/Sponer/events{/privacy}","received_events_url":"https://api.github.com/users/Sponer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-15T16:15:48Z","updated_at":"2015-10-15T22:37:13Z","closed_at":null,"body":"When a player's IP (ex. 127.0.0.1) is in whitelist with 0 extra slots (ex. 127.0.0.1,0);\r\nThis IP has -1 slot in everything (GAME, EVENTS, OLYMPIAD).\r\nBecause of this line...\r\nnum = num == 0 ? -1 : num;\r\n\r\nTested Fix:\r\nnum = num == 0 ? 0 : num;"},"comment":{"url":"https://api.github.com/repos/L2J/L2J_Server/issues/comments/148542780","html_url":"https://github.com/L2J/L2J_Server/issues/111#issuecomment-148542780","issue_url":"https://api.github.com/repos/L2J/L2J_Server/issues/111","id":148542780,"user":{"login":"Sponer","id":7348928,"avatar_url":"https://avatars.githubusercontent.com/u/7348928?v=3","gravatar_id":"","url":"https://api.github.com/users/Sponer","html_url":"https://github.com/Sponer","followers_url":"https://api.github.com/users/Sponer/followers","following_url":"https://api.github.com/users/Sponer/following{/other_user}","gists_url":"https://api.github.com/users/Sponer/gists{/gist_id}","starred_url":"https://api.github.com/users/Sponer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sponer/subscriptions","organizations_url":"https://api.github.com/users/Sponer/orgs","repos_url":"https://api.github.com/users/Sponer/repos","events_url":"https://api.github.com/users/Sponer/events{/privacy}","received_events_url":"https://api.github.com/users/Sponer/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T22:37:13Z","updated_at":"2015-10-15T22:37:13Z","body":"It doesn't... it's very simple... the code is completely the same...\r\nnum is the value of extra slots for each IP address in whitelist...\r\nif value is 0, it was returing -1 (slot)\r\nelse if value is >=1, it's returning value...\r\nI just made it, if value is 0, return 0 instead of -1"}}