{"action":"created","comment":{"url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/comments/224970794","pull_request_review_id":164475118,"id":224970794,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDk3MDc5NA==","diff_hunk":"@@ -40,10 +40,23 @@ class ModuleGeoIPBan : public Module\n {\n \tLocalStringExt ext;\n \tGeoIP* gi;\n-\n+\tGeoIP* fi;\n+\t\n \tstd::string* SetExt(User* user)\n \t{\n-\t\tconst char* c = GeoIP_country_code_by_addr(gi, user->GetIPString());\n+\t\tchar buf[16];\n+\t\tconst char* c = \"UNK\";\n+\t\t\n+\t\tif (inet_pton(AF_INET, user->GetIPString(), buf)) {","path":"2.0/m_geoipban.cpp","position":31,"original_position":31,"commit_id":"1c386e6ea2b978cb253ec65da02217609569aa5e","original_commit_id":"bafde802105783d3d31aeb2d197b38c2f5caa71c","user":{"login":"H7-25","id":2895452,"node_id":"MDQ6VXNlcjI4OTU0NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/2895452?v=4","gravatar_id":"","url":"https://api.github.com/users/H7-25","html_url":"https://github.com/H7-25","followers_url":"https://api.github.com/users/H7-25/followers","following_url":"https://api.github.com/users/H7-25/following{/other_user}","gists_url":"https://api.github.com/users/H7-25/gists{/gist_id}","starred_url":"https://api.github.com/users/H7-25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/H7-25/subscriptions","organizations_url":"https://api.github.com/users/H7-25/orgs","repos_url":"https://api.github.com/users/H7-25/repos","events_url":"https://api.github.com/users/H7-25/events{/privacy}","received_events_url":"https://api.github.com/users/H7-25/received_events","type":"User","site_admin":false},"body":"Are you sure user->client_sa.sa.sa_family is available in insp20 ?","created_at":"2018-10-13T20:09:31Z","updated_at":"2018-10-13T20:09:31Z","html_url":"https://github.com/inspircd/inspircd-extras/pull/166#discussion_r224970794","pull_request_url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/comments/224970794"},"html":{"href":"https://github.com/inspircd/inspircd-extras/pull/166#discussion_r224970794"},"pull_request":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166"}},"in_reply_to_id":224957533},"pull_request":{"url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166","id":222605776,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjA1Nzc2","html_url":"https://github.com/inspircd/inspircd-extras/pull/166","diff_url":"https://github.com/inspircd/inspircd-extras/pull/166.diff","patch_url":"https://github.com/inspircd/inspircd-extras/pull/166.patch","issue_url":"https://api.github.com/repos/inspircd/inspircd-extras/issues/166","number":166,"state":"open","locked":false,"title":"m_geoipban ipv6 support","user":{"login":"H7-25","id":2895452,"node_id":"MDQ6VXNlcjI4OTU0NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/2895452?v=4","gravatar_id":"","url":"https://api.github.com/users/H7-25","html_url":"https://github.com/H7-25","followers_url":"https://api.github.com/users/H7-25/followers","following_url":"https://api.github.com/users/H7-25/following{/other_user}","gists_url":"https://api.github.com/users/H7-25/gists{/gist_id}","starred_url":"https://api.github.com/users/H7-25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/H7-25/subscriptions","organizations_url":"https://api.github.com/users/H7-25/orgs","repos_url":"https://api.github.com/users/H7-25/repos","events_url":"https://api.github.com/users/H7-25/events{/privacy}","received_events_url":"https://api.github.com/users/H7-25/received_events","type":"User","site_admin":false},"body":"Added ipv6 support to m_geoipban module","created_at":"2018-10-12T22:58:47Z","updated_at":"2018-10-13T20:09:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab9d7972691e8b7b635eac1e6f68780c723c1220","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166/commits","review_comments_url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166/comments","review_comment_url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspircd/inspircd-extras/issues/166/comments","statuses_url":"https://api.github.com/repos/inspircd/inspircd-extras/statuses/1c386e6ea2b978cb253ec65da02217609569aa5e","head":{"label":"SimosNap:master","ref":"master","sha":"1c386e6ea2b978cb253ec65da02217609569aa5e","user":{"login":"SimosNap","id":2895229,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTUyMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/2895229?v=4","gravatar_id":"","url":"https://api.github.com/users/SimosNap","html_url":"https://github.com/SimosNap","followers_url":"https://api.github.com/users/SimosNap/followers","following_url":"https://api.github.com/users/SimosNap/following{/other_user}","gists_url":"https://api.github.com/users/SimosNap/gists{/gist_id}","starred_url":"https://api.github.com/users/SimosNap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimosNap/subscriptions","organizations_url":"https://api.github.com/users/SimosNap/orgs","repos_url":"https://api.github.com/users/SimosNap/repos","events_url":"https://api.github.com/users/SimosNap/events{/privacy}","received_events_url":"https://api.github.com/users/SimosNap/received_events","type":"Organization","site_admin":false},"repo":{"id":152814948,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4MTQ5NDg=","name":"inspircd-extras","full_name":"SimosNap/inspircd-extras","private":false,"owner":{"login":"SimosNap","id":2895229,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTUyMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/2895229?v=4","gravatar_id":"","url":"https://api.github.com/users/SimosNap","html_url":"https://github.com/SimosNap","followers_url":"https://api.github.com/users/SimosNap/followers","following_url":"https://api.github.com/users/SimosNap/following{/other_user}","gists_url":"https://api.github.com/users/SimosNap/gists{/gist_id}","starred_url":"https://api.github.com/users/SimosNap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimosNap/subscriptions","organizations_url":"https://api.github.com/users/SimosNap/orgs","repos_url":"https://api.github.com/users/SimosNap/repos","events_url":"https://api.github.com/users/SimosNap/events{/privacy}","received_events_url":"https://api.github.com/users/SimosNap/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SimosNap/inspircd-extras","description":"Extra modules for InspIRCd.","fork":true,"url":"https://api.github.com/repos/SimosNap/inspircd-extras","forks_url":"https://api.github.com/repos/SimosNap/inspircd-extras/forks","keys_url":"https://api.github.com/repos/SimosNap/inspircd-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SimosNap/inspircd-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SimosNap/inspircd-extras/teams","hooks_url":"https://api.github.com/repos/SimosNap/inspircd-extras/hooks","issue_events_url":"https://api.github.com/repos/SimosNap/inspircd-extras/issues/events{/number}","events_url":"https://api.github.com/repos/SimosNap/inspircd-extras/events","assignees_url":"https://api.github.com/repos/SimosNap/inspircd-extras/assignees{/user}","branches_url":"https://api.github.com/repos/SimosNap/inspircd-extras/branches{/branch}","tags_url":"https://api.github.com/repos/SimosNap/inspircd-extras/tags","blobs_url":"https://api.github.com/repos/SimosNap/inspircd-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SimosNap/inspircd-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SimosNap/inspircd-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/SimosNap/inspircd-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SimosNap/inspircd-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/SimosNap/inspircd-extras/languages","stargazers_url":"https://api.github.com/repos/SimosNap/inspircd-extras/stargazers","contributors_url":"https://api.github.com/repos/SimosNap/inspircd-extras/contributors","subscribers_url":"https://api.github.com/repos/SimosNap/inspircd-extras/subscribers","subscription_url":"https://api.github.com/repos/SimosNap/inspircd-extras/subscription","commits_url":"https://api.github.com/repos/SimosNap/inspircd-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/SimosNap/inspircd-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/SimosNap/inspircd-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/SimosNap/inspircd-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/SimosNap/inspircd-extras/contents/{+path}","compare_url":"https://api.github.com/repos/SimosNap/inspircd-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SimosNap/inspircd-extras/merges","archive_url":"https://api.github.com/repos/SimosNap/inspircd-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SimosNap/inspircd-extras/downloads","issues_url":"https://api.github.com/repos/SimosNap/inspircd-extras/issues{/number}","pulls_url":"https://api.github.com/repos/SimosNap/inspircd-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/SimosNap/inspircd-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/SimosNap/inspircd-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SimosNap/inspircd-extras/labels{/name}","releases_url":"https://api.github.com/repos/SimosNap/inspircd-extras/releases{/id}","deployments_url":"https://api.github.com/repos/SimosNap/inspircd-extras/deployments","created_at":"2018-10-12T22:46:45Z","updated_at":"2018-10-13T20:08:08Z","pushed_at":"2018-10-13T20:08:06Z","git_url":"git://github.com/SimosNap/inspircd-extras.git","ssh_url":"git@github.com:SimosNap/inspircd-extras.git","clone_url":"https://github.com/SimosNap/inspircd-extras.git","svn_url":"https://github.com/SimosNap/inspircd-extras","homepage":"https://www.inspircd.org/","size":548,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inspircd:master","ref":"master","sha":"2c6e800e73f98d91c5c0f7bef4ccd6ec4d1c3a73","user":{"login":"inspircd","id":1560750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjA3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1560750?v=4","gravatar_id":"","url":"https://api.github.com/users/inspircd","html_url":"https://github.com/inspircd","followers_url":"https://api.github.com/users/inspircd/followers","following_url":"https://api.github.com/users/inspircd/following{/other_user}","gists_url":"https://api.github.com/users/inspircd/gists{/gist_id}","starred_url":"https://api.github.com/users/inspircd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspircd/subscriptions","organizations_url":"https://api.github.com/users/inspircd/orgs","repos_url":"https://api.github.com/users/inspircd/repos","events_url":"https://api.github.com/users/inspircd/events{/privacy}","received_events_url":"https://api.github.com/users/inspircd/received_events","type":"Organization","site_admin":false},"repo":{"id":3786321,"node_id":"MDEwOlJlcG9zaXRvcnkzNzg2MzIx","name":"inspircd-extras","full_name":"inspircd/inspircd-extras","private":false,"owner":{"login":"inspircd","id":1560750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1NjA3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1560750?v=4","gravatar_id":"","url":"https://api.github.com/users/inspircd","html_url":"https://github.com/inspircd","followers_url":"https://api.github.com/users/inspircd/followers","following_url":"https://api.github.com/users/inspircd/following{/other_user}","gists_url":"https://api.github.com/users/inspircd/gists{/gist_id}","starred_url":"https://api.github.com/users/inspircd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspircd/subscriptions","organizations_url":"https://api.github.com/users/inspircd/orgs","repos_url":"https://api.github.com/users/inspircd/repos","events_url":"https://api.github.com/users/inspircd/events{/privacy}","received_events_url":"https://api.github.com/users/inspircd/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/inspircd/inspircd-extras","description":"Extra modules for InspIRCd.","fork":false,"url":"https://api.github.com/repos/inspircd/inspircd-extras","forks_url":"https://api.github.com/repos/inspircd/inspircd-extras/forks","keys_url":"https://api.github.com/repos/inspircd/inspircd-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspircd/inspircd-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspircd/inspircd-extras/teams","hooks_url":"https://api.github.com/repos/inspircd/inspircd-extras/hooks","issue_events_url":"https://api.github.com/repos/inspircd/inspircd-extras/issues/events{/number}","events_url":"https://api.github.com/repos/inspircd/inspircd-extras/events","assignees_url":"https://api.github.com/repos/inspircd/inspircd-extras/assignees{/user}","branches_url":"https://api.github.com/repos/inspircd/inspircd-extras/branches{/branch}","tags_url":"https://api.github.com/repos/inspircd/inspircd-extras/tags","blobs_url":"https://api.github.com/repos/inspircd/inspircd-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspircd/inspircd-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspircd/inspircd-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspircd/inspircd-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspircd/inspircd-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/inspircd/inspircd-extras/languages","stargazers_url":"https://api.github.com/repos/inspircd/inspircd-extras/stargazers","contributors_url":"https://api.github.com/repos/inspircd/inspircd-extras/contributors","subscribers_url":"https://api.github.com/repos/inspircd/inspircd-extras/subscribers","subscription_url":"https://api.github.com/repos/inspircd/inspircd-extras/subscription","commits_url":"https://api.github.com/repos/inspircd/inspircd-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspircd/inspircd-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspircd/inspircd-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspircd/inspircd-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspircd/inspircd-extras/contents/{+path}","compare_url":"https://api.github.com/repos/inspircd/inspircd-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspircd/inspircd-extras/merges","archive_url":"https://api.github.com/repos/inspircd/inspircd-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspircd/inspircd-extras/downloads","issues_url":"https://api.github.com/repos/inspircd/inspircd-extras/issues{/number}","pulls_url":"https://api.github.com/repos/inspircd/inspircd-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/inspircd/inspircd-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/inspircd/inspircd-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspircd/inspircd-extras/labels{/name}","releases_url":"https://api.github.com/repos/inspircd/inspircd-extras/releases{/id}","deployments_url":"https://api.github.com/repos/inspircd/inspircd-extras/deployments","created_at":"2012-03-21T12:38:31Z","updated_at":"2018-09-04T09:32:08Z","pushed_at":"2018-10-13T20:08:07Z","git_url":"git://github.com/inspircd/inspircd-extras.git","ssh_url":"git@github.com:inspircd/inspircd-extras.git","clone_url":"https://github.com/inspircd/inspircd-extras.git","svn_url":"https://github.com/inspircd/inspircd-extras","homepage":"https://www.inspircd.org/","size":538,"stargazers_count":59,"watchers_count":59,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":54,"open_issues":19,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166"},"html":{"href":"https://github.com/inspircd/inspircd-extras/pull/166"},"issue":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/issues/166"},"comments":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/inspircd/inspircd-extras/statuses/1c386e6ea2b978cb253ec65da02217609569aa5e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"H7-25"}}