{"action":"created","issue":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/865","repository_url":"https://api.github.com/repos/alliedmodders/sourcemod","labels_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/865/comments","events_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/865/events","html_url":"https://github.com/alliedmodders/sourcemod/issues/865","id":347509202,"node_id":"MDU6SXNzdWUzNDc1MDkyMDI=","number":865,"title":"SQL_CheckConfig always returns true (dev)","user":{"login":"TotallyMehis","id":4648654,"node_id":"MDQ6VXNlcjQ2NDg2NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4648654?v=4","gravatar_id":"","url":"https://api.github.com/users/TotallyMehis","html_url":"https://github.com/TotallyMehis","followers_url":"https://api.github.com/users/TotallyMehis/followers","following_url":"https://api.github.com/users/TotallyMehis/following{/other_user}","gists_url":"https://api.github.com/users/TotallyMehis/gists{/gist_id}","starred_url":"https://api.github.com/users/TotallyMehis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TotallyMehis/subscriptions","organizations_url":"https://api.github.com/users/TotallyMehis/orgs","repos_url":"https://api.github.com/users/TotallyMehis/repos","events_url":"https://api.github.com/users/TotallyMehis/events{/privacy}","received_events_url":"https://api.github.com/users/TotallyMehis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-03T19:21:14Z","updated_at":"2018-08-03T19:35:08Z","closed_at":null,"author_association":"NONE","body":"```\r\n SourceMod Version Information:\r\n    SourceMod Version: 1.10.0.6322\r\n    SourcePawn Engine: 1.10.0.6322, jit-x86 (build 1.10.0.6322)\r\n    SourcePawn API: v1 = 4, v2 = 12\r\n    Compiled on: Aug  2 2018 14:34:15\r\n    Built from: https://github.com/alliedmodders/sourcemod/commit/3511d2a4\r\n    Build ID: 6322:3511d2a4\r\n    http://www.sourcemod.net/\r\n```\r\n\r\n```\r\n#include <sourcemod>\r\n#include <dbi>\r\n\r\npublic void OnPluginStart()\r\n{\r\n    SetFailState( \"Result: %i\", SQL_CheckConfig( \"idontexist\" ) ); // Result: 1\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/comments/410354807","html_url":"https://github.com/alliedmodders/sourcemod/issues/865#issuecomment-410354807","issue_url":"https://api.github.com/repos/alliedmodders/sourcemod/issues/865","id":410354807,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDM1NDgwNw==","user":{"login":"TotallyMehis","id":4648654,"node_id":"MDQ6VXNlcjQ2NDg2NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4648654?v=4","gravatar_id":"","url":"https://api.github.com/users/TotallyMehis","html_url":"https://github.com/TotallyMehis","followers_url":"https://api.github.com/users/TotallyMehis/followers","following_url":"https://api.github.com/users/TotallyMehis/following{/other_user}","gists_url":"https://api.github.com/users/TotallyMehis/gists{/gist_id}","starred_url":"https://api.github.com/users/TotallyMehis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TotallyMehis/subscriptions","organizations_url":"https://api.github.com/users/TotallyMehis/orgs","repos_url":"https://api.github.com/users/TotallyMehis/repos","events_url":"https://api.github.com/users/TotallyMehis/events{/privacy}","received_events_url":"https://api.github.com/users/TotallyMehis/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T19:35:08Z","updated_at":"2018-08-03T19:35:08Z","author_association":"NONE","body":"`Returns if a named configuration is present in databases.cfg.`\r\n\r\nThis makes the function pointless + changes behavior.\r\nSimply googling `\"SQL_CheckConfig\"` you can see a ton of plugins relying on it and how it's used.\r\n\r\n\r\n"}}
{"actor":{"display_login":"TotallyMehis"}}