{"action":"created","comment":{"url":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments/25355051","id":25355051,"diff_hunk":"@@ -893,23 +893,26 @@ private static void RegisterUser(CommandArgs args)\n \t\t\t\tuser.Group = TShock.Config.DefaultRegistrationGroupName; // FIXME -- we should get this from the DB. --Why?\n \t\t\t\tuser.UUID = args.Player.UUID;\n \n-                if (TShock.Users.GetUserByName(user.Name) == null && user.Name != TSServerPlayer.AccountName) // Cheap way of checking for existance of a user\n+\t\t\t\tif (TShock.Users.GetUserByName(user.Name) == null && user.Name != TSServerPlayer.AccountName)\n+\t\t\t\t\t// Cheap way of checking for existance of a user\n \t\t\t\t{\n \t\t\t\t\targs.Player.SendSuccessMessage(\"Account \\\"{0}\\\" has been registered.\", user.Name);\n \t\t\t\t\targs.Player.SendSuccessMessage(\"Your password is {0}.\", user.Password);\n \t\t\t\t\tTShock.Users.AddUser(user);\n-\t\t\t\t\tLog.ConsoleInfo(\"{0} registered an account: \\\"{1}\\\".\", args.Player.Name, user.Name);\n+\t\t\t\t\tTShock.CharacterDB.SeedInitialData(TShock.Users.GetUser(user));\n+\t\t\t\t\tTShock.Log.ConsoleInfo(\"{0} registered an account: \\\"{1}\\\".\", args.Player.Name, user.Name);","path":"TShockAPI/Commands.cs","position":90,"original_position":90,"commit_id":"3d6c5c316786645a1ace5a9dd74ceafb69b7c428","original_commit_id":"3d6c5c316786645a1ace5a9dd74ceafb69b7c428","user":{"login":"nicatronTg","id":532647,"avatar_url":"https://avatars.githubusercontent.com/u/532647?v=3","gravatar_id":"","url":"https://api.github.com/users/nicatronTg","html_url":"https://github.com/nicatronTg","followers_url":"https://api.github.com/users/nicatronTg/followers","following_url":"https://api.github.com/users/nicatronTg/following{/other_user}","gists_url":"https://api.github.com/users/nicatronTg/gists{/gist_id}","starred_url":"https://api.github.com/users/nicatronTg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicatronTg/subscriptions","organizations_url":"https://api.github.com/users/nicatronTg/orgs","repos_url":"https://api.github.com/users/nicatronTg/repos","events_url":"https://api.github.com/users/nicatronTg/events{/privacy}","received_events_url":"https://api.github.com/users/nicatronTg/received_events","type":"User","site_admin":false},"body":"This line is duplicated.","created_at":"2015-02-25T16:39:09Z","updated_at":"2015-02-25T16:39:09Z","html_url":"https://github.com/NyxStudios/TShock/pull/869#discussion_r25355051","pull_request_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/869","_links":{"self":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments/25355051"},"html":{"href":"https://github.com/NyxStudios/TShock/pull/869#discussion_r25355051"},"pull_request":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/869"}}},"pull_request":{"url":"https://api.github.com/repos/NyxStudios/TShock/pulls/869","id":29966023,"html_url":"https://github.com/NyxStudios/TShock/pull/869","diff_url":"https://github.com/NyxStudios/TShock/pull/869.diff","patch_url":"https://github.com/NyxStudios/TShock/pull/869.patch","issue_url":"https://api.github.com/repos/NyxStudios/TShock/issues/869","number":869,"state":"open","locked":false,"title":"Adds the ability to log to an SQL database","user":{"login":"WhiteXZ","id":2648373,"avatar_url":"https://avatars.githubusercontent.com/u/2648373?v=3","gravatar_id":"","url":"https://api.github.com/users/WhiteXZ","html_url":"https://github.com/WhiteXZ","followers_url":"https://api.github.com/users/WhiteXZ/followers","following_url":"https://api.github.com/users/WhiteXZ/following{/other_user}","gists_url":"https://api.github.com/users/WhiteXZ/gists{/gist_id}","starred_url":"https://api.github.com/users/WhiteXZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhiteXZ/subscriptions","organizations_url":"https://api.github.com/users/WhiteXZ/orgs","repos_url":"https://api.github.com/users/WhiteXZ/repos","events_url":"https://api.github.com/users/WhiteXZ/events{/privacy}","received_events_url":"https://api.github.com/users/WhiteXZ/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-25T07:25:59Z","updated_at":"2015-02-25T16:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"257074a7ddacb6202e7bbcca38c2fcd69918887a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/869/commits","review_comments_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/869/comments","review_comment_url":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NyxStudios/TShock/issues/869/comments","statuses_url":"https://api.github.com/repos/NyxStudios/TShock/statuses/3d6c5c316786645a1ace5a9dd74ceafb69b7c428","head":{"label":"WhiteXZ:general-devel","ref":"general-devel","sha":"3d6c5c316786645a1ace5a9dd74ceafb69b7c428","user":{"login":"WhiteXZ","id":2648373,"avatar_url":"https://avatars.githubusercontent.com/u/2648373?v=3","gravatar_id":"","url":"https://api.github.com/users/WhiteXZ","html_url":"https://github.com/WhiteXZ","followers_url":"https://api.github.com/users/WhiteXZ/followers","following_url":"https://api.github.com/users/WhiteXZ/following{/other_user}","gists_url":"https://api.github.com/users/WhiteXZ/gists{/gist_id}","starred_url":"https://api.github.com/users/WhiteXZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhiteXZ/subscriptions","organizations_url":"https://api.github.com/users/WhiteXZ/orgs","repos_url":"https://api.github.com/users/WhiteXZ/repos","events_url":"https://api.github.com/users/WhiteXZ/events{/privacy}","received_events_url":"https://api.github.com/users/WhiteXZ/received_events","type":"User","site_admin":false},"repo":{"id":21685772,"name":"TShock","full_name":"WhiteXZ/TShock","owner":{"login":"WhiteXZ","id":2648373,"avatar_url":"https://avatars.githubusercontent.com/u/2648373?v=3","gravatar_id":"","url":"https://api.github.com/users/WhiteXZ","html_url":"https://github.com/WhiteXZ","followers_url":"https://api.github.com/users/WhiteXZ/followers","following_url":"https://api.github.com/users/WhiteXZ/following{/other_user}","gists_url":"https://api.github.com/users/WhiteXZ/gists{/gist_id}","starred_url":"https://api.github.com/users/WhiteXZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhiteXZ/subscriptions","organizations_url":"https://api.github.com/users/WhiteXZ/orgs","repos_url":"https://api.github.com/users/WhiteXZ/repos","events_url":"https://api.github.com/users/WhiteXZ/events{/privacy}","received_events_url":"https://api.github.com/users/WhiteXZ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WhiteXZ/TShock","description":"A server mod for Terraria that adds features everyone loves.","fork":true,"url":"https://api.github.com/repos/WhiteXZ/TShock","forks_url":"https://api.github.com/repos/WhiteXZ/TShock/forks","keys_url":"https://api.github.com/repos/WhiteXZ/TShock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WhiteXZ/TShock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WhiteXZ/TShock/teams","hooks_url":"https://api.github.com/repos/WhiteXZ/TShock/hooks","issue_events_url":"https://api.github.com/repos/WhiteXZ/TShock/issues/events{/number}","events_url":"https://api.github.com/repos/WhiteXZ/TShock/events","assignees_url":"https://api.github.com/repos/WhiteXZ/TShock/assignees{/user}","branches_url":"https://api.github.com/repos/WhiteXZ/TShock/branches{/branch}","tags_url":"https://api.github.com/repos/WhiteXZ/TShock/tags","blobs_url":"https://api.github.com/repos/WhiteXZ/TShock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WhiteXZ/TShock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WhiteXZ/TShock/git/refs{/sha}","trees_url":"https://api.github.com/repos/WhiteXZ/TShock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WhiteXZ/TShock/statuses/{sha}","languages_url":"https://api.github.com/repos/WhiteXZ/TShock/languages","stargazers_url":"https://api.github.com/repos/WhiteXZ/TShock/stargazers","contributors_url":"https://api.github.com/repos/WhiteXZ/TShock/contributors","subscribers_url":"https://api.github.com/repos/WhiteXZ/TShock/subscribers","subscription_url":"https://api.github.com/repos/WhiteXZ/TShock/subscription","commits_url":"https://api.github.com/repos/WhiteXZ/TShock/commits{/sha}","git_commits_url":"https://api.github.com/repos/WhiteXZ/TShock/git/commits{/sha}","comments_url":"https://api.github.com/repos/WhiteXZ/TShock/comments{/number}","issue_comment_url":"https://api.github.com/repos/WhiteXZ/TShock/issues/comments{/number}","contents_url":"https://api.github.com/repos/WhiteXZ/TShock/contents/{+path}","compare_url":"https://api.github.com/repos/WhiteXZ/TShock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WhiteXZ/TShock/merges","archive_url":"https://api.github.com/repos/WhiteXZ/TShock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WhiteXZ/TShock/downloads","issues_url":"https://api.github.com/repos/WhiteXZ/TShock/issues{/number}","pulls_url":"https://api.github.com/repos/WhiteXZ/TShock/pulls{/number}","milestones_url":"https://api.github.com/repos/WhiteXZ/TShock/milestones{/number}","notifications_url":"https://api.github.com/repos/WhiteXZ/TShock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WhiteXZ/TShock/labels{/name}","releases_url":"https://api.github.com/repos/WhiteXZ/TShock/releases{/id}","created_at":"2014-07-10T08:09:32Z","updated_at":"2015-02-25T07:46:45Z","pushed_at":"2015-02-25T07:46:45Z","git_url":"git://github.com/WhiteXZ/TShock.git","ssh_url":"git@github.com:WhiteXZ/TShock.git","clone_url":"https://github.com/WhiteXZ/TShock.git","svn_url":"https://github.com/WhiteXZ/TShock","homepage":"http://tshock.co/","size":42378,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"general-devel"}},"base":{"label":"NyxStudios:general-devel","ref":"general-devel","sha":"c215ff8e102ae0f42558ae3f6ce69eddee06e279","user":{"login":"NyxStudios","id":826956,"avatar_url":"https://avatars.githubusercontent.com/u/826956?v=3","gravatar_id":"","url":"https://api.github.com/users/NyxStudios","html_url":"https://github.com/NyxStudios","followers_url":"https://api.github.com/users/NyxStudios/followers","following_url":"https://api.github.com/users/NyxStudios/following{/other_user}","gists_url":"https://api.github.com/users/NyxStudios/gists{/gist_id}","starred_url":"https://api.github.com/users/NyxStudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NyxStudios/subscriptions","organizations_url":"https://api.github.com/users/NyxStudios/orgs","repos_url":"https://api.github.com/users/NyxStudios/repos","events_url":"https://api.github.com/users/NyxStudios/events{/privacy}","received_events_url":"https://api.github.com/users/NyxStudios/received_events","type":"Organization","site_admin":false},"repo":{"id":1841284,"name":"TShock","full_name":"NyxStudios/TShock","owner":{"login":"NyxStudios","id":826956,"avatar_url":"https://avatars.githubusercontent.com/u/826956?v=3","gravatar_id":"","url":"https://api.github.com/users/NyxStudios","html_url":"https://github.com/NyxStudios","followers_url":"https://api.github.com/users/NyxStudios/followers","following_url":"https://api.github.com/users/NyxStudios/following{/other_user}","gists_url":"https://api.github.com/users/NyxStudios/gists{/gist_id}","starred_url":"https://api.github.com/users/NyxStudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NyxStudios/subscriptions","organizations_url":"https://api.github.com/users/NyxStudios/orgs","repos_url":"https://api.github.com/users/NyxStudios/repos","events_url":"https://api.github.com/users/NyxStudios/events{/privacy}","received_events_url":"https://api.github.com/users/NyxStudios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NyxStudios/TShock","description":"A server mod for Terraria that adds features everyone loves.","fork":false,"url":"https://api.github.com/repos/NyxStudios/TShock","forks_url":"https://api.github.com/repos/NyxStudios/TShock/forks","keys_url":"https://api.github.com/repos/NyxStudios/TShock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NyxStudios/TShock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NyxStudios/TShock/teams","hooks_url":"https://api.github.com/repos/NyxStudios/TShock/hooks","issue_events_url":"https://api.github.com/repos/NyxStudios/TShock/issues/events{/number}","events_url":"https://api.github.com/repos/NyxStudios/TShock/events","assignees_url":"https://api.github.com/repos/NyxStudios/TShock/assignees{/user}","branches_url":"https://api.github.com/repos/NyxStudios/TShock/branches{/branch}","tags_url":"https://api.github.com/repos/NyxStudios/TShock/tags","blobs_url":"https://api.github.com/repos/NyxStudios/TShock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NyxStudios/TShock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NyxStudios/TShock/git/refs{/sha}","trees_url":"https://api.github.com/repos/NyxStudios/TShock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NyxStudios/TShock/statuses/{sha}","languages_url":"https://api.github.com/repos/NyxStudios/TShock/languages","stargazers_url":"https://api.github.com/repos/NyxStudios/TShock/stargazers","contributors_url":"https://api.github.com/repos/NyxStudios/TShock/contributors","subscribers_url":"https://api.github.com/repos/NyxStudios/TShock/subscribers","subscription_url":"https://api.github.com/repos/NyxStudios/TShock/subscription","commits_url":"https://api.github.com/repos/NyxStudios/TShock/commits{/sha}","git_commits_url":"https://api.github.com/repos/NyxStudios/TShock/git/commits{/sha}","comments_url":"https://api.github.com/repos/NyxStudios/TShock/comments{/number}","issue_comment_url":"https://api.github.com/repos/NyxStudios/TShock/issues/comments{/number}","contents_url":"https://api.github.com/repos/NyxStudios/TShock/contents/{+path}","compare_url":"https://api.github.com/repos/NyxStudios/TShock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NyxStudios/TShock/merges","archive_url":"https://api.github.com/repos/NyxStudios/TShock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NyxStudios/TShock/downloads","issues_url":"https://api.github.com/repos/NyxStudios/TShock/issues{/number}","pulls_url":"https://api.github.com/repos/NyxStudios/TShock/pulls{/number}","milestones_url":"https://api.github.com/repos/NyxStudios/TShock/milestones{/number}","notifications_url":"https://api.github.com/repos/NyxStudios/TShock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NyxStudios/TShock/labels{/name}","releases_url":"https://api.github.com/repos/NyxStudios/TShock/releases{/id}","created_at":"2011-06-03T07:14:27Z","updated_at":"2015-02-25T07:27:13Z","pushed_at":"2015-02-25T07:27:13Z","git_url":"git://github.com/NyxStudios/TShock.git","ssh_url":"git@github.com:NyxStudios/TShock.git","clone_url":"https://github.com/NyxStudios/TShock.git","svn_url":"https://github.com/NyxStudios/TShock","homepage":"https://tshock.co/","size":46921,"stargazers_count":365,"watchers_count":365,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":131,"mirror_url":null,"open_issues_count":4,"forks":131,"open_issues":4,"watchers":365,"default_branch":"general-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/869"},"html":{"href":"https://github.com/NyxStudios/TShock/pull/869"},"issue":{"href":"https://api.github.com/repos/NyxStudios/TShock/issues/869"},"comments":{"href":"https://api.github.com/repos/NyxStudios/TShock/issues/869/comments"},"review_comments":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/869/comments"},"review_comment":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NyxStudios/TShock/pulls/869/commits"},"statuses":{"href":"https://api.github.com/repos/NyxStudios/TShock/statuses/3d6c5c316786645a1ace5a9dd74ceafb69b7c428"}}}}