{"action":"closed","number":182,"pull_request":{"url":"https://api.github.com/repos/eggheads/eggdrop/pulls/182","id":59323188,"html_url":"https://github.com/eggheads/eggdrop/pull/182","diff_url":"https://github.com/eggheads/eggdrop/pull/182.diff","patch_url":"https://github.com/eggheads/eggdrop/pull/182.patch","issue_url":"https://api.github.com/repos/eggheads/eggdrop/issues/182","number":182,"state":"closed","locked":false,"title":"Switch from debug1() to putlog(LOG_MISC...) in ssl_init()","user":{"login":"vanosg","id":2440369,"avatar_url":"https://avatars.githubusercontent.com/u/2440369?v=3","gravatar_id":"","url":"https://api.github.com/users/vanosg","html_url":"https://github.com/vanosg","followers_url":"https://api.github.com/users/vanosg/followers","following_url":"https://api.github.com/users/vanosg/following{/other_user}","gists_url":"https://api.github.com/users/vanosg/gists{/gist_id}","starred_url":"https://api.github.com/users/vanosg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanosg/subscriptions","organizations_url":"https://api.github.com/users/vanosg/orgs","repos_url":"https://api.github.com/users/vanosg/repos","events_url":"https://api.github.com/users/vanosg/events{/privacy}","received_events_url":"https://api.github.com/users/vanosg/received_events","type":"User","site_admin":false},"body":"Patch by: Geo\r\nFixes #177 \r\n\r\nSwitch from debug1() to putlog(LOG_MISC...) for error logging in ssl_init() as +d is only activated after loading the userfile (which takes place after ssl_init() ). Error's being generated were neither shown nor logged. Now on console you get a nice message:\r\n```\r\n[05:41:13] === testbot: 1 channels, 11 users.\r\n[05:41:13] ERROR: TLS: unable to load own certificate: error:02001002:system library:fopen:No such file or directory\r\n[05:41:13]   Check ssl-certificate in config.\r\n[05:41:13] ERROR: TLS: unable to load private key: error:20074002:BIO routines:FILE_CTRL:system lib\r\n[05:41:13]   Check ssl-privatekey in config.\r\n```","created_at":"2016-02-15T05:44:44Z","updated_at":"2016-03-23T01:49:41Z","closed_at":"2016-03-23T01:49:41Z","merged_at":"2016-03-23T01:49:41Z","merge_commit_sha":"ff91cd638fda31e42f18ea0efda1aaaf36ea6825","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eggheads/eggdrop/pulls/182/commits","review_comments_url":"https://api.github.com/repos/eggheads/eggdrop/pulls/182/comments","review_comment_url":"https://api.github.com/repos/eggheads/eggdrop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eggheads/eggdrop/issues/182/comments","statuses_url":"https://api.github.com/repos/eggheads/eggdrop/statuses/a367dae9608a65f22262188d702b3884257c1961","head":{"label":"vanosg:check-ssl-privatekey","ref":"check-ssl-privatekey","sha":"a367dae9608a65f22262188d702b3884257c1961","user":{"login":"vanosg","id":2440369,"avatar_url":"https://avatars.githubusercontent.com/u/2440369?v=3","gravatar_id":"","url":"https://api.github.com/users/vanosg","html_url":"https://github.com/vanosg","followers_url":"https://api.github.com/users/vanosg/followers","following_url":"https://api.github.com/users/vanosg/following{/other_user}","gists_url":"https://api.github.com/users/vanosg/gists{/gist_id}","starred_url":"https://api.github.com/users/vanosg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanosg/subscriptions","organizations_url":"https://api.github.com/users/vanosg/orgs","repos_url":"https://api.github.com/users/vanosg/repos","events_url":"https://api.github.com/users/vanosg/events{/privacy}","received_events_url":"https://api.github.com/users/vanosg/received_events","type":"User","site_admin":false},"repo":{"id":44719392,"name":"eggdrop","full_name":"vanosg/eggdrop","owner":{"login":"vanosg","id":2440369,"avatar_url":"https://avatars.githubusercontent.com/u/2440369?v=3","gravatar_id":"","url":"https://api.github.com/users/vanosg","html_url":"https://github.com/vanosg","followers_url":"https://api.github.com/users/vanosg/followers","following_url":"https://api.github.com/users/vanosg/following{/other_user}","gists_url":"https://api.github.com/users/vanosg/gists{/gist_id}","starred_url":"https://api.github.com/users/vanosg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanosg/subscriptions","organizations_url":"https://api.github.com/users/vanosg/orgs","repos_url":"https://api.github.com/users/vanosg/repos","events_url":"https://api.github.com/users/vanosg/events{/privacy}","received_events_url":"https://api.github.com/users/vanosg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vanosg/eggdrop","description":"The Eggdrop IRC Bot","fork":true,"url":"https://api.github.com/repos/vanosg/eggdrop","forks_url":"https://api.github.com/repos/vanosg/eggdrop/forks","keys_url":"https://api.github.com/repos/vanosg/eggdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vanosg/eggdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vanosg/eggdrop/teams","hooks_url":"https://api.github.com/repos/vanosg/eggdrop/hooks","issue_events_url":"https://api.github.com/repos/vanosg/eggdrop/issues/events{/number}","events_url":"https://api.github.com/repos/vanosg/eggdrop/events","assignees_url":"https://api.github.com/repos/vanosg/eggdrop/assignees{/user}","branches_url":"https://api.github.com/repos/vanosg/eggdrop/branches{/branch}","tags_url":"https://api.github.com/repos/vanosg/eggdrop/tags","blobs_url":"https://api.github.com/repos/vanosg/eggdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vanosg/eggdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vanosg/eggdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/vanosg/eggdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vanosg/eggdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/vanosg/eggdrop/languages","stargazers_url":"https://api.github.com/repos/vanosg/eggdrop/stargazers","contributors_url":"https://api.github.com/repos/vanosg/eggdrop/contributors","subscribers_url":"https://api.github.com/repos/vanosg/eggdrop/subscribers","subscription_url":"https://api.github.com/repos/vanosg/eggdrop/subscription","commits_url":"https://api.github.com/repos/vanosg/eggdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/vanosg/eggdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/vanosg/eggdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/vanosg/eggdrop/issues/comments{/number}","contents_url":"https://api.github.com/repos/vanosg/eggdrop/contents/{+path}","compare_url":"https://api.github.com/repos/vanosg/eggdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vanosg/eggdrop/merges","archive_url":"https://api.github.com/repos/vanosg/eggdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vanosg/eggdrop/downloads","issues_url":"https://api.github.com/repos/vanosg/eggdrop/issues{/number}","pulls_url":"https://api.github.com/repos/vanosg/eggdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/vanosg/eggdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/vanosg/eggdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vanosg/eggdrop/labels{/name}","releases_url":"https://api.github.com/repos/vanosg/eggdrop/releases{/id}","deployments_url":"https://api.github.com/repos/vanosg/eggdrop/deployments","created_at":"2015-10-22T03:17:01Z","updated_at":"2015-11-03T02:46:07Z","pushed_at":"2016-03-06T04:01:10Z","git_url":"git://github.com/vanosg/eggdrop.git","ssh_url":"git@github.com:vanosg/eggdrop.git","clone_url":"https://github.com/vanosg/eggdrop.git","svn_url":"https://github.com/vanosg/eggdrop","homepage":null,"size":11079,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"v1.8"}},"base":{"label":"eggheads:develop","ref":"develop","sha":"c860b93878cbf764886568bab3b7b7c05f802e2c","user":{"login":"eggheads","id":1483260,"avatar_url":"https://avatars.githubusercontent.com/u/1483260?v=3","gravatar_id":"","url":"https://api.github.com/users/eggheads","html_url":"https://github.com/eggheads","followers_url":"https://api.github.com/users/eggheads/followers","following_url":"https://api.github.com/users/eggheads/following{/other_user}","gists_url":"https://api.github.com/users/eggheads/gists{/gist_id}","starred_url":"https://api.github.com/users/eggheads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggheads/subscriptions","organizations_url":"https://api.github.com/users/eggheads/orgs","repos_url":"https://api.github.com/users/eggheads/repos","events_url":"https://api.github.com/users/eggheads/events{/privacy}","received_events_url":"https://api.github.com/users/eggheads/received_events","type":"Organization","site_admin":false},"repo":{"id":44209137,"name":"eggdrop","full_name":"eggheads/eggdrop","owner":{"login":"eggheads","id":1483260,"avatar_url":"https://avatars.githubusercontent.com/u/1483260?v=3","gravatar_id":"","url":"https://api.github.com/users/eggheads","html_url":"https://github.com/eggheads","followers_url":"https://api.github.com/users/eggheads/followers","following_url":"https://api.github.com/users/eggheads/following{/other_user}","gists_url":"https://api.github.com/users/eggheads/gists{/gist_id}","starred_url":"https://api.github.com/users/eggheads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggheads/subscriptions","organizations_url":"https://api.github.com/users/eggheads/orgs","repos_url":"https://api.github.com/users/eggheads/repos","events_url":"https://api.github.com/users/eggheads/events{/privacy}","received_events_url":"https://api.github.com/users/eggheads/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eggheads/eggdrop","description":"The Eggdrop IRC Bot","fork":false,"url":"https://api.github.com/repos/eggheads/eggdrop","forks_url":"https://api.github.com/repos/eggheads/eggdrop/forks","keys_url":"https://api.github.com/repos/eggheads/eggdrop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eggheads/eggdrop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eggheads/eggdrop/teams","hooks_url":"https://api.github.com/repos/eggheads/eggdrop/hooks","issue_events_url":"https://api.github.com/repos/eggheads/eggdrop/issues/events{/number}","events_url":"https://api.github.com/repos/eggheads/eggdrop/events","assignees_url":"https://api.github.com/repos/eggheads/eggdrop/assignees{/user}","branches_url":"https://api.github.com/repos/eggheads/eggdrop/branches{/branch}","tags_url":"https://api.github.com/repos/eggheads/eggdrop/tags","blobs_url":"https://api.github.com/repos/eggheads/eggdrop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eggheads/eggdrop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eggheads/eggdrop/git/refs{/sha}","trees_url":"https://api.github.com/repos/eggheads/eggdrop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eggheads/eggdrop/statuses/{sha}","languages_url":"https://api.github.com/repos/eggheads/eggdrop/languages","stargazers_url":"https://api.github.com/repos/eggheads/eggdrop/stargazers","contributors_url":"https://api.github.com/repos/eggheads/eggdrop/contributors","subscribers_url":"https://api.github.com/repos/eggheads/eggdrop/subscribers","subscription_url":"https://api.github.com/repos/eggheads/eggdrop/subscription","commits_url":"https://api.github.com/repos/eggheads/eggdrop/commits{/sha}","git_commits_url":"https://api.github.com/repos/eggheads/eggdrop/git/commits{/sha}","comments_url":"https://api.github.com/repos/eggheads/eggdrop/comments{/number}","issue_comment_url":"https://api.github.com/repos/eggheads/eggdrop/issues/comments{/number}","contents_url":"https://api.github.com/repos/eggheads/eggdrop/contents/{+path}","compare_url":"https://api.github.com/repos/eggheads/eggdrop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eggheads/eggdrop/merges","archive_url":"https://api.github.com/repos/eggheads/eggdrop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eggheads/eggdrop/downloads","issues_url":"https://api.github.com/repos/eggheads/eggdrop/issues{/number}","pulls_url":"https://api.github.com/repos/eggheads/eggdrop/pulls{/number}","milestones_url":"https://api.github.com/repos/eggheads/eggdrop/milestones{/number}","notifications_url":"https://api.github.com/repos/eggheads/eggdrop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eggheads/eggdrop/labels{/name}","releases_url":"https://api.github.com/repos/eggheads/eggdrop/releases{/id}","deployments_url":"https://api.github.com/repos/eggheads/eggdrop/deployments","created_at":"2015-10-13T22:26:59Z","updated_at":"2016-03-03T22:52:30Z","pushed_at":"2016-03-23T01:49:41Z","git_url":"git://github.com/eggheads/eggdrop.git","ssh_url":"git@github.com:eggheads/eggdrop.git","clone_url":"https://github.com/eggheads/eggdrop.git","svn_url":"https://github.com/eggheads/eggdrop","homepage":null,"size":10863,"stargazers_count":23,"watchers_count":23,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":77,"forks":11,"open_issues":77,"watchers":23,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/eggheads/eggdrop/pulls/182"},"html":{"href":"https://github.com/eggheads/eggdrop/pull/182"},"issue":{"href":"https://api.github.com/repos/eggheads/eggdrop/issues/182"},"comments":{"href":"https://api.github.com/repos/eggheads/eggdrop/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/eggheads/eggdrop/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/eggheads/eggdrop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eggheads/eggdrop/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/eggheads/eggdrop/statuses/a367dae9608a65f22262188d702b3884257c1961"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vanosg","id":2440369,"avatar_url":"https://avatars.githubusercontent.com/u/2440369?v=3","gravatar_id":"","url":"https://api.github.com/users/vanosg","html_url":"https://github.com/vanosg","followers_url":"https://api.github.com/users/vanosg/followers","following_url":"https://api.github.com/users/vanosg/following{/other_user}","gists_url":"https://api.github.com/users/vanosg/gists{/gist_id}","starred_url":"https://api.github.com/users/vanosg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanosg/subscriptions","organizations_url":"https://api.github.com/users/vanosg/orgs","repos_url":"https://api.github.com/users/vanosg/repos","events_url":"https://api.github.com/users/vanosg/events{/privacy}","received_events_url":"https://api.github.com/users/vanosg/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":11,"deletions":8,"changed_files":1}}