{"action":"created","issue":{"url":"https://api.github.com/repos/thelounge/lounge/issues/741","repository_url":"https://api.github.com/repos/thelounge/lounge","labels_url":"https://api.github.com/repos/thelounge/lounge/issues/741/labels{/name}","comments_url":"https://api.github.com/repos/thelounge/lounge/issues/741/comments","events_url":"https://api.github.com/repos/thelounge/lounge/issues/741/events","html_url":"https://github.com/thelounge/lounge/issues/741","id":190303248,"number":741,"title":"Receiving NAMES event on a non existing channel crashes","user":{"login":"awalGarg","id":9100409,"avatar_url":"https://avatars.githubusercontent.com/u/9100409?v=3","gravatar_id":"","url":"https://api.github.com/users/awalGarg","html_url":"https://github.com/awalGarg","followers_url":"https://api.github.com/users/awalGarg/followers","following_url":"https://api.github.com/users/awalGarg/following{/other_user}","gists_url":"https://api.github.com/users/awalGarg/gists{/gist_id}","starred_url":"https://api.github.com/users/awalGarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awalGarg/subscriptions","organizations_url":"https://api.github.com/users/awalGarg/orgs","repos_url":"https://api.github.com/users/awalGarg/repos","events_url":"https://api.github.com/users/awalGarg/events{/privacy}","received_events_url":"https://api.github.com/users/awalGarg/received_events","type":"User","site_admin":false},"labels":[{"id":323424560,"url":"https://api.github.com/repos/thelounge/lounge/labels/bug","name":"bug","color":"F45D43","default":true}],"state":"open","locked":false,"assignee":{"login":"xPaw","id":613331,"avatar_url":"https://avatars.githubusercontent.com/u/613331?v=3","gravatar_id":"","url":"https://api.github.com/users/xPaw","html_url":"https://github.com/xPaw","followers_url":"https://api.github.com/users/xPaw/followers","following_url":"https://api.github.com/users/xPaw/following{/other_user}","gists_url":"https://api.github.com/users/xPaw/gists{/gist_id}","starred_url":"https://api.github.com/users/xPaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xPaw/subscriptions","organizations_url":"https://api.github.com/users/xPaw/orgs","repos_url":"https://api.github.com/users/xPaw/repos","events_url":"https://api.github.com/users/xPaw/events{/privacy}","received_events_url":"https://api.github.com/users/xPaw/received_events","type":"User","site_admin":false},"assignees":[{"login":"xPaw","id":613331,"avatar_url":"https://avatars.githubusercontent.com/u/613331?v=3","gravatar_id":"","url":"https://api.github.com/users/xPaw","html_url":"https://github.com/xPaw","followers_url":"https://api.github.com/users/xPaw/followers","following_url":"https://api.github.com/users/xPaw/following{/other_user}","gists_url":"https://api.github.com/users/xPaw/gists{/gist_id}","starred_url":"https://api.github.com/users/xPaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xPaw/subscriptions","organizations_url":"https://api.github.com/users/xPaw/orgs","repos_url":"https://api.github.com/users/xPaw/repos","events_url":"https://api.github.com/users/xPaw/events{/privacy}","received_events_url":"https://api.github.com/users/xPaw/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/thelounge/lounge/milestones/2","html_url":"https://github.com/thelounge/lounge/milestone/2","labels_url":"https://api.github.com/repos/thelounge/lounge/milestones/2/labels","id":1779510,"number":2,"title":"2.2.0","description":"","creator":{"login":"xPaw","id":613331,"avatar_url":"https://avatars.githubusercontent.com/u/613331?v=3","gravatar_id":"","url":"https://api.github.com/users/xPaw","html_url":"https://github.com/xPaw","followers_url":"https://api.github.com/users/xPaw/followers","following_url":"https://api.github.com/users/xPaw/following{/other_user}","gists_url":"https://api.github.com/users/xPaw/gists{/gist_id}","starred_url":"https://api.github.com/users/xPaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xPaw/subscriptions","organizations_url":"https://api.github.com/users/xPaw/orgs","repos_url":"https://api.github.com/users/xPaw/repos","events_url":"https://api.github.com/users/xPaw/events{/privacy}","received_events_url":"https://api.github.com/users/xPaw/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":51,"state":"open","created_at":"2016-05-20T18:38:01Z","updated_at":"2016-12-11T09:18:34Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-11-18T12:01:25Z","updated_at":"2016-12-11T09:37:33Z","closed_at":null,"body":"Hi there. Lounge is awesome :)\r\n\r\nI just had this crash though:\r\n\r\n```\r\n[experiments] ~ $ lounge start\r\n2016-11-18 11:50:19 [INFO] The Lounge v2.1.0 is now running\r\n2016-11-18 11:50:19 [INFO] Available on: http://0.0.0.0:8901/ in private mode\r\n2016-11-18 11:50:19 [INFO] Press ctrl-c to stop\r\n\r\n2016-11-18 11:50:19 [INFO] User 'awal' loaded\r\n/usr/lib/node_modules/thelounge/src/plugins/irc-events/names.js:13\r\n                chan.users = data.users.map(u => new User(u, network.prefixLookup));\r\n                                       ^\r\n\r\nTypeError: Cannot read property 'map' of undefined\r\n    at IrcClient.<anonymous> (/usr/lib/node_modules/thelounge/src/plugins/irc-events/names.js:13:26)\r\n    at emitOne (events.js:96:13)\r\n    at IrcClient.emit (events.js:188:7)\r\n    at /usr/lib/node_modules/thelounge/node_modules/irc-framework/src/client.js:153:20\r\n    at next (/usr/lib/node_modules/thelounge/node_modules/middleware-handler/index.js:42:18)\r\n    at MiddlewareHandler.handle (/usr/lib/node_modules/thelounge/node_modules/middleware-handler/index.js:64:3)\r\n    at IrcCommandHandler.<anonymous> (/usr/lib/node_modules/thelounge/node_modules/irc-framework/src/client.js:147:34)\r\n    at emitTwo (events.js:106:13)\r\n    at IrcCommandHandler.emit (events.js:191:7)\r\n    at IrcCommandHandler.emit (/usr/lib/node_modules/thelounge/node_modules/irc-framework/src/commands/handler.js:82:23)\r\n```\r\n\r\nThe above is the entire log, after which lounge exited.\r\n\r\nI am using the default config. This happened while I was authorizing with nickserv and joining #archlinux on freenode. I restarted lounge immediately, and everything is working fine, so can't really reproduce. I was advised to report this issue here from #thelounge irc channel.\r\n\r\nLet me know if I should provide any more info. Thanks!"},"comment":{"url":"https://api.github.com/repos/thelounge/lounge/issues/comments/266272288","html_url":"https://github.com/thelounge/lounge/issues/741#issuecomment-266272288","issue_url":"https://api.github.com/repos/thelounge/lounge/issues/741","id":266272288,"user":{"login":"astorije","id":113730,"avatar_url":"https://avatars.githubusercontent.com/u/113730?v=3","gravatar_id":"","url":"https://api.github.com/users/astorije","html_url":"https://github.com/astorije","followers_url":"https://api.github.com/users/astorije/followers","following_url":"https://api.github.com/users/astorije/following{/other_user}","gists_url":"https://api.github.com/users/astorije/gists{/gist_id}","starred_url":"https://api.github.com/users/astorije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorije/subscriptions","organizations_url":"https://api.github.com/users/astorije/orgs","repos_url":"https://api.github.com/users/astorije/repos","events_url":"https://api.github.com/users/astorije/events{/privacy}","received_events_url":"https://api.github.com/users/astorije/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T09:37:33Z","updated_at":"2016-12-11T09:37:33Z","body":"@xPaw, reminder to close this issue next time @prawnsalad cuts a release with https://github.com/kiwiirc/irc-framework/pull/69 in it (over the weekend, IIUC) and we pull it in this repo."}}
{"actor":{"display_login":"astorije"}}