Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to asyncio #102

Merged
merged 5 commits into from
Sep 21, 2015
Merged

Port to asyncio #102

merged 5 commits into from
Sep 21, 2015

Conversation

auscompgeek
Copy link
Contributor

Fixes #99, #100, and presumably #96, from the looks of things.

This would also fix #76, but in preliminary testing, the bot stopped sending messages after a while, it seems.

@ackwell
Copy link
Owner

ackwell commented Sep 21, 2015

M-muh networking code!

Looks good.

ackwell added a commit that referenced this pull request Sep 21, 2015
@ackwell ackwell merged commit ec91a9e into ackwell:master Sep 21, 2015
@@ -11,6 +11,7 @@
"username": "ninjabot_un",
"realname": "ninjabot_rn"
/*"password": "server password"*/ /* Optional */
/*"ssl": false*/ /* Optional */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be true by default / 10. In all seriousness, a single non-SSL thing in a channel breaks the security of the whole channel. Let's make the bots slightly more secure, eh?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is, SSL doesn't work properly. So obviously I can't make it default or people would be asking why the bot doesn't work.

The behaviour when SSL/TLS is enabled is that a large chunk of messages are never received by the server.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues with enabling SSL by default once kinks with SSL connections are ironed. But until then, nope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ninjabot instance has no attribute 'message_queue' core: implement SSL connections to IRC
4 participants