{"action":"closed","issue":{"url":"https://api.github.com/repos/myano/jenni/issues/157","labels_url":"https://api.github.com/repos/myano/jenni/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/myano/jenni/issues/157/comments","events_url":"https://api.github.com/repos/myano/jenni/issues/157/events","html_url":"https://github.com/myano/jenni/issues/157","id":60805518,"number":157,"title":"startup.py relies on RPL_LUSERCLIENT event","user":{"login":"Bekey","id":4387397,"avatar_url":"https://avatars.githubusercontent.com/u/4387397?v=3","gravatar_id":"","url":"https://api.github.com/users/Bekey","html_url":"https://github.com/Bekey","followers_url":"https://api.github.com/users/Bekey/followers","following_url":"https://api.github.com/users/Bekey/following{/other_user}","gists_url":"https://api.github.com/users/Bekey/gists{/gist_id}","starred_url":"https://api.github.com/users/Bekey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bekey/subscriptions","organizations_url":"https://api.github.com/users/Bekey/orgs","repos_url":"https://api.github.com/users/Bekey/repos","events_url":"https://api.github.com/users/Bekey/events{/privacy}","received_events_url":"https://api.github.com/users/Bekey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/myano/jenni/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/myano/jenni/labels/Medium%20Priority","name":"Medium Priority","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"kaneda","id":260107,"avatar_url":"https://avatars.githubusercontent.com/u/260107?v=3","gravatar_id":"","url":"https://api.github.com/users/kaneda","html_url":"https://github.com/kaneda","followers_url":"https://api.github.com/users/kaneda/followers","following_url":"https://api.github.com/users/kaneda/following{/other_user}","gists_url":"https://api.github.com/users/kaneda/gists{/gist_id}","starred_url":"https://api.github.com/users/kaneda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaneda/subscriptions","organizations_url":"https://api.github.com/users/kaneda/orgs","repos_url":"https://api.github.com/users/kaneda/repos","events_url":"https://api.github.com/users/kaneda/events{/privacy}","received_events_url":"https://api.github.com/users/kaneda/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/myano/jenni/milestones/2","html_url":"https://github.com/myano/jenni/milestones/Short%20Term","labels_url":"https://api.github.com/repos/myano/jenni/milestones/2/labels","id":981659,"number":2,"title":"Short Term","description":null,"creator":{"login":"kaneda","id":260107,"avatar_url":"https://avatars.githubusercontent.com/u/260107?v=3","gravatar_id":"","url":"https://api.github.com/users/kaneda","html_url":"https://github.com/kaneda","followers_url":"https://api.github.com/users/kaneda/followers","following_url":"https://api.github.com/users/kaneda/following{/other_user}","gists_url":"https://api.github.com/users/kaneda/gists{/gist_id}","starred_url":"https://api.github.com/users/kaneda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaneda/subscriptions","organizations_url":"https://api.github.com/users/kaneda/orgs","repos_url":"https://api.github.com/users/kaneda/repos","events_url":"https://api.github.com/users/kaneda/events{/privacy}","received_events_url":"https://api.github.com/users/kaneda/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2015-02-16T17:22:23Z","updated_at":"2015-05-06T12:35:04Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-12T11:33:40Z","updated_at":"2015-05-06T12:35:04Z","closed_at":"2015-05-06T12:35:04Z","body":"Inside the module startup.py, the function responsible for joining channels supplied in the config file relies on the IRC event 251 RPL_LUSERCLIENT to fire off the function.\r\n\r\nHowever some IRC servers, most notably irc.twitch.tv, do not send this event.\r\n\r\nhttps://github.com/myano/jenni/blob/master/modules/startup.py#L73\r\n\r\nAlso for what it's worth, if the function is fired off the lines\r\n```python\r\nif hasattr(jenni.config, 'serverpass'):\r\n    jenni.write(('PASS', jenni.config.serverpass))\r\n```\r\ncause a disconnect since jenni has already authenticated herself in irc.py\r\nhttps://github.com/myano/jenni/blob/master/irc.py#L224-L225\r\n```python\r\nif not self.use_sasl and self.password:\r\n    self.write(('PASS', self.password))\r\n```"}}