{"action":"created","comment":{"url":"https://api.github.com/repos/ddnet/ddnet/pulls/comments/182779743","pull_request_review_id":113644678,"id":182779743,"diff_hunk":"@@ -388,6 +431,24 @@ void CGameContext::Mute(IConsole::IResult *pResult, NETADDR *Addr, int Secs,\n \t\tConsole()->Print(IConsole::OUTPUT_LEVEL_STANDARD, \"mutes\", \"mute array is full\");\n }\n \n+void CGameContext::ConVoteMute(IConsole::IResult *pResult, void *pUserData)\n+{\n+\tCGameContext *pSelf = (CGameContext *)pUserData;\n+\tint Victim = pResult->GetVictim();\n+\n+\tif (Victim < 0 || Victim > MAX_CLIENTS || !pSelf->m_apPlayers[Victim])\n+\t{\n+\t\tpSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, \"votemute\", \"Client id not found.\");","path":"src/game/server/ddracecommands.cpp","position":61,"original_position":61,"commit_id":"32189f8485347798dd7b7eec27170f60d64e7f3a","original_commit_id":"32189f8485347798dd7b7eec27170f60d64e7f3a","user":{"login":"heinrich5991","id":366230,"avatar_url":"https://avatars2.githubusercontent.com/u/366230?v=4","gravatar_id":"","url":"https://api.github.com/users/heinrich5991","html_url":"https://github.com/heinrich5991","followers_url":"https://api.github.com/users/heinrich5991/followers","following_url":"https://api.github.com/users/heinrich5991/following{/other_user}","gists_url":"https://api.github.com/users/heinrich5991/gists{/gist_id}","starred_url":"https://api.github.com/users/heinrich5991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heinrich5991/subscriptions","organizations_url":"https://api.github.com/users/heinrich5991/orgs","repos_url":"https://api.github.com/users/heinrich5991/repos","events_url":"https://api.github.com/users/heinrich5991/events{/privacy}","received_events_url":"https://api.github.com/users/heinrich5991/received_events","type":"User","site_admin":false},"body":"`\"Client ID not found\"`","created_at":"2018-04-19T15:05:07Z","updated_at":"2018-04-19T15:08:43Z","html_url":"https://github.com/ddnet/ddnet/pull/1118#discussion_r182779743","pull_request_url":"https://api.github.com/repos/ddnet/ddnet/pulls/1118","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ddnet/ddnet/pulls/comments/182779743"},"html":{"href":"https://github.com/ddnet/ddnet/pull/1118#discussion_r182779743"},"pull_request":{"href":"https://api.github.com/repos/ddnet/ddnet/pulls/1118"}}},"pull_request":{"url":"https://api.github.com/repos/ddnet/ddnet/pulls/1118","id":182550243,"html_url":"https://github.com/ddnet/ddnet/pull/1118","diff_url":"https://github.com/ddnet/ddnet/pull/1118.diff","patch_url":"https://github.com/ddnet/ddnet/pull/1118.patch","issue_url":"https://api.github.com/repos/ddnet/ddnet/issues/1118","number":1118,"state":"open","locked":false,"title":"Add vote_ban rcon command","user":{"login":"ChillerDragon","id":20344300,"avatar_url":"https://avatars3.githubusercontent.com/u/20344300?v=4","gravatar_id":"","url":"https://api.github.com/users/ChillerDragon","html_url":"https://github.com/ChillerDragon","followers_url":"https://api.github.com/users/ChillerDragon/followers","following_url":"https://api.github.com/users/ChillerDragon/following{/other_user}","gists_url":"https://api.github.com/users/ChillerDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillerDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillerDragon/subscriptions","organizations_url":"https://api.github.com/users/ChillerDragon/orgs","repos_url":"https://api.github.com/users/ChillerDragon/repos","events_url":"https://api.github.com/users/ChillerDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ChillerDragon/received_events","type":"User","site_admin":false},"body":"Works the same as muteid.\r\nVote banned players aren't allowed to start or participate in votes.","created_at":"2018-04-18T17:30:01Z","updated_at":"2018-04-19T15:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8306714e41c1a6e9a9ea3beb3ca78379a57e910d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ddnet/ddnet/pulls/1118/commits","review_comments_url":"https://api.github.com/repos/ddnet/ddnet/pulls/1118/comments","review_comment_url":"https://api.github.com/repos/ddnet/ddnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ddnet/ddnet/issues/1118/comments","statuses_url":"https://api.github.com/repos/ddnet/ddnet/statuses/32189f8485347798dd7b7eec27170f60d64e7f3a","head":{"label":"ChillerDragon:VoteBan","ref":"VoteBan","sha":"32189f8485347798dd7b7eec27170f60d64e7f3a","user":{"login":"ChillerDragon","id":20344300,"avatar_url":"https://avatars3.githubusercontent.com/u/20344300?v=4","gravatar_id":"","url":"https://api.github.com/users/ChillerDragon","html_url":"https://github.com/ChillerDragon","followers_url":"https://api.github.com/users/ChillerDragon/followers","following_url":"https://api.github.com/users/ChillerDragon/following{/other_user}","gists_url":"https://api.github.com/users/ChillerDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillerDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillerDragon/subscriptions","organizations_url":"https://api.github.com/users/ChillerDragon/orgs","repos_url":"https://api.github.com/users/ChillerDragon/repos","events_url":"https://api.github.com/users/ChillerDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ChillerDragon/received_events","type":"User","site_admin":false},"repo":{"id":127926445,"name":"ddnet","full_name":"ChillerDragon/ddnet","owner":{"login":"ChillerDragon","id":20344300,"avatar_url":"https://avatars3.githubusercontent.com/u/20344300?v=4","gravatar_id":"","url":"https://api.github.com/users/ChillerDragon","html_url":"https://github.com/ChillerDragon","followers_url":"https://api.github.com/users/ChillerDragon/followers","following_url":"https://api.github.com/users/ChillerDragon/following{/other_user}","gists_url":"https://api.github.com/users/ChillerDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillerDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillerDragon/subscriptions","organizations_url":"https://api.github.com/users/ChillerDragon/orgs","repos_url":"https://api.github.com/users/ChillerDragon/repos","events_url":"https://api.github.com/users/ChillerDragon/events{/privacy}","received_events_url":"https://api.github.com/users/ChillerDragon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChillerDragon/ddnet","description":"DDraceNetwork, a mod of Teeworlds","fork":true,"url":"https://api.github.com/repos/ChillerDragon/ddnet","forks_url":"https://api.github.com/repos/ChillerDragon/ddnet/forks","keys_url":"https://api.github.com/repos/ChillerDragon/ddnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChillerDragon/ddnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChillerDragon/ddnet/teams","hooks_url":"https://api.github.com/repos/ChillerDragon/ddnet/hooks","issue_events_url":"https://api.github.com/repos/ChillerDragon/ddnet/issues/events{/number}","events_url":"https://api.github.com/repos/ChillerDragon/ddnet/events","assignees_url":"https://api.github.com/repos/ChillerDragon/ddnet/assignees{/user}","branches_url":"https://api.github.com/repos/ChillerDragon/ddnet/branches{/branch}","tags_url":"https://api.github.com/repos/ChillerDragon/ddnet/tags","blobs_url":"https://api.github.com/repos/ChillerDragon/ddnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChillerDragon/ddnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChillerDragon/ddnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChillerDragon/ddnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChillerDragon/ddnet/statuses/{sha}","languages_url":"https://api.github.com/repos/ChillerDragon/ddnet/languages","stargazers_url":"https://api.github.com/repos/ChillerDragon/ddnet/stargazers","contributors_url":"https://api.github.com/repos/ChillerDragon/ddnet/contributors","subscribers_url":"https://api.github.com/repos/ChillerDragon/ddnet/subscribers","subscription_url":"https://api.github.com/repos/ChillerDragon/ddnet/subscription","commits_url":"https://api.github.com/repos/ChillerDragon/ddnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChillerDragon/ddnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChillerDragon/ddnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChillerDragon/ddnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChillerDragon/ddnet/contents/{+path}","compare_url":"https://api.github.com/repos/ChillerDragon/ddnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChillerDragon/ddnet/merges","archive_url":"https://api.github.com/repos/ChillerDragon/ddnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChillerDragon/ddnet/downloads","issues_url":"https://api.github.com/repos/ChillerDragon/ddnet/issues{/number}","pulls_url":"https://api.github.com/repos/ChillerDragon/ddnet/pulls{/number}","milestones_url":"https://api.github.com/repos/ChillerDragon/ddnet/milestones{/number}","notifications_url":"https://api.github.com/repos/ChillerDragon/ddnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChillerDragon/ddnet/labels{/name}","releases_url":"https://api.github.com/repos/ChillerDragon/ddnet/releases{/id}","deployments_url":"https://api.github.com/repos/ChillerDragon/ddnet/deployments","created_at":"2018-04-03T15:07:35Z","updated_at":"2018-04-18T15:20:52Z","pushed_at":"2018-04-19T09:51:15Z","git_url":"git://github.com/ChillerDragon/ddnet.git","ssh_url":"git@github.com:ChillerDragon/ddnet.git","clone_url":"https://github.com/ChillerDragon/ddnet.git","svn_url":"https://github.com/ChillerDragon/ddnet","homepage":null,"size":203945,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ddnet:master","ref":"master","sha":"63b4beb86fbfd1dabcac8f71e0507fcca2da1b3d","user":{"login":"ddnet","id":13823972,"avatar_url":"https://avatars0.githubusercontent.com/u/13823972?v=4","gravatar_id":"","url":"https://api.github.com/users/ddnet","html_url":"https://github.com/ddnet","followers_url":"https://api.github.com/users/ddnet/followers","following_url":"https://api.github.com/users/ddnet/following{/other_user}","gists_url":"https://api.github.com/users/ddnet/gists{/gist_id}","starred_url":"https://api.github.com/users/ddnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddnet/subscriptions","organizations_url":"https://api.github.com/users/ddnet/orgs","repos_url":"https://api.github.com/users/ddnet/repos","events_url":"https://api.github.com/users/ddnet/events{/privacy}","received_events_url":"https://api.github.com/users/ddnet/received_events","type":"Organization","site_admin":false},"repo":{"id":22821674,"name":"ddnet","full_name":"ddnet/ddnet","owner":{"login":"ddnet","id":13823972,"avatar_url":"https://avatars0.githubusercontent.com/u/13823972?v=4","gravatar_id":"","url":"https://api.github.com/users/ddnet","html_url":"https://github.com/ddnet","followers_url":"https://api.github.com/users/ddnet/followers","following_url":"https://api.github.com/users/ddnet/following{/other_user}","gists_url":"https://api.github.com/users/ddnet/gists{/gist_id}","starred_url":"https://api.github.com/users/ddnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddnet/subscriptions","organizations_url":"https://api.github.com/users/ddnet/orgs","repos_url":"https://api.github.com/users/ddnet/repos","events_url":"https://api.github.com/users/ddnet/events{/privacy}","received_events_url":"https://api.github.com/users/ddnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ddnet/ddnet","description":"DDraceNetwork, a mod of Teeworlds","fork":false,"url":"https://api.github.com/repos/ddnet/ddnet","forks_url":"https://api.github.com/repos/ddnet/ddnet/forks","keys_url":"https://api.github.com/repos/ddnet/ddnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ddnet/ddnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ddnet/ddnet/teams","hooks_url":"https://api.github.com/repos/ddnet/ddnet/hooks","issue_events_url":"https://api.github.com/repos/ddnet/ddnet/issues/events{/number}","events_url":"https://api.github.com/repos/ddnet/ddnet/events","assignees_url":"https://api.github.com/repos/ddnet/ddnet/assignees{/user}","branches_url":"https://api.github.com/repos/ddnet/ddnet/branches{/branch}","tags_url":"https://api.github.com/repos/ddnet/ddnet/tags","blobs_url":"https://api.github.com/repos/ddnet/ddnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ddnet/ddnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ddnet/ddnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ddnet/ddnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ddnet/ddnet/statuses/{sha}","languages_url":"https://api.github.com/repos/ddnet/ddnet/languages","stargazers_url":"https://api.github.com/repos/ddnet/ddnet/stargazers","contributors_url":"https://api.github.com/repos/ddnet/ddnet/contributors","subscribers_url":"https://api.github.com/repos/ddnet/ddnet/subscribers","subscription_url":"https://api.github.com/repos/ddnet/ddnet/subscription","commits_url":"https://api.github.com/repos/ddnet/ddnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ddnet/ddnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ddnet/ddnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ddnet/ddnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ddnet/ddnet/contents/{+path}","compare_url":"https://api.github.com/repos/ddnet/ddnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ddnet/ddnet/merges","archive_url":"https://api.github.com/repos/ddnet/ddnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ddnet/ddnet/downloads","issues_url":"https://api.github.com/repos/ddnet/ddnet/issues{/number}","pulls_url":"https://api.github.com/repos/ddnet/ddnet/pulls{/number}","milestones_url":"https://api.github.com/repos/ddnet/ddnet/milestones{/number}","notifications_url":"https://api.github.com/repos/ddnet/ddnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ddnet/ddnet/labels{/name}","releases_url":"https://api.github.com/repos/ddnet/ddnet/releases{/id}","deployments_url":"https://api.github.com/repos/ddnet/ddnet/deployments","created_at":"2014-08-11T00:03:57Z","updated_at":"2018-04-17T17:58:39Z","pushed_at":"2018-04-19T09:51:16Z","git_url":"git://github.com/ddnet/ddnet.git","ssh_url":"git@github.com:ddnet/ddnet.git","clone_url":"https://github.com/ddnet/ddnet.git","svn_url":"https://github.com/ddnet/ddnet","homepage":null,"size":203913,"stargazers_count":107,"watchers_count":107,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"archived":false,"open_issues_count":74,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":103,"open_issues":74,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ddnet/ddnet/pulls/1118"},"html":{"href":"https://github.com/ddnet/ddnet/pull/1118"},"issue":{"href":"https://api.github.com/repos/ddnet/ddnet/issues/1118"},"comments":{"href":"https://api.github.com/repos/ddnet/ddnet/issues/1118/comments"},"review_comments":{"href":"https://api.github.com/repos/ddnet/ddnet/pulls/1118/comments"},"review_comment":{"href":"https://api.github.com/repos/ddnet/ddnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ddnet/ddnet/pulls/1118/commits"},"statuses":{"href":"https://api.github.com/repos/ddnet/ddnet/statuses/32189f8485347798dd7b7eec27170f60d64e7f3a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"heinrich5991"}}