{"action":"created","issue":{"url":"https://api.github.com/repos/aatxe/awebot-plugins/issues/1","labels_url":"https://api.github.com/repos/aatxe/awebot-plugins/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/aatxe/awebot-plugins/issues/1/comments","events_url":"https://api.github.com/repos/aatxe/awebot-plugins/issues/1/events","html_url":"https://github.com/aatxe/awebot-plugins/issues/1","id":66478826,"number":1,"title":"Call server.config() in plugin crash process.","user":{"login":"chtotut","id":11809763,"avatar_url":"https://avatars.githubusercontent.com/u/11809763?v=3","gravatar_id":"","url":"https://api.github.com/users/chtotut","html_url":"https://github.com/chtotut","followers_url":"https://api.github.com/users/chtotut/followers","following_url":"https://api.github.com/users/chtotut/following{/other_user}","gists_url":"https://api.github.com/users/chtotut/gists{/gist_id}","starred_url":"https://api.github.com/users/chtotut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtotut/subscriptions","organizations_url":"https://api.github.com/users/chtotut/orgs","repos_url":"https://api.github.com/users/chtotut/repos","events_url":"https://api.github.com/users/chtotut/events{/privacy}","received_events_url":"https://api.github.com/users/chtotut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-05T20:25:40Z","updated_at":"2015-04-05T20:52:03Z","closed_at":null,"body":"Try start awebot with `quote` plugin.\r\nCall `server.config()` from [this srting](https://github.com/aatxe/awebot-plugins/blob/master/quote/src/lib.rs#L20) crash process with `Process didn't exit successfully: `target/debug/awebot` (signal: 4)`. In plugin did not work Server trait functions. Call `server.config()` from [awebot](https://github.com/aatxe/awebot/blob/master/src/main.rs#L24) work.\r\n\r\nRust version: `rustc 1.0.0-nightly (083b8a404 2015-04-05) (built 2015-04-05)`"},"comment":{"url":"https://api.github.com/repos/aatxe/awebot-plugins/issues/comments/89848897","html_url":"https://github.com/aatxe/awebot-plugins/issues/1#issuecomment-89848897","issue_url":"https://api.github.com/repos/aatxe/awebot-plugins/issues/1","id":89848897,"user":{"login":"aatxe","id":744293,"avatar_url":"https://avatars.githubusercontent.com/u/744293?v=3","gravatar_id":"","url":"https://api.github.com/users/aatxe","html_url":"https://github.com/aatxe","followers_url":"https://api.github.com/users/aatxe/followers","following_url":"https://api.github.com/users/aatxe/following{/other_user}","gists_url":"https://api.github.com/users/aatxe/gists{/gist_id}","starred_url":"https://api.github.com/users/aatxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatxe/subscriptions","organizations_url":"https://api.github.com/users/aatxe/orgs","repos_url":"https://api.github.com/users/aatxe/repos","events_url":"https://api.github.com/users/aatxe/events{/privacy}","received_events_url":"https://api.github.com/users/aatxe/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T20:52:03Z","updated_at":"2015-04-05T20:52:03Z","body":"Do you have a proper `config.json` file in your working directory that has a nickname declared? If you don't, it will cause the program to panic because there's no nickname for the bot to identify with.\r\n\r\nHere's an example `config.json`:\r\n```json\r\n{\r\n    \"owners\": [\"awe\"],\r\n    \"nickname\": \"awebot\",\r\n    \"alt_nicks\": [\"awebot_\"],\r\n    \"server\": \"irc.pdgn.co\",\r\n    \"use_ssl\": true,\r\n    \"channels\": [\"#pdgn\"],\r\n    \"options\": {}\r\n}\r\n```\r\nYou can find other options [here](http://aatxe.github.io/irc/irc/client/data/config/struct.Config.html). \r\nThe only required options are the nickname and the server. Everything else has defaults."}}