Yaaic icon indicating copy to clipboard operation
Yaaic copied to clipboard

Does not follow IRC spec

Open danopia opened this issue 13 years ago • 3 comments

I was using Yaaic with a custom server, planning my port of Yaaic to a different chat system, but in the meantime I figured I'd point out some issues and wonder how you'd handle them....

My custom server follows the spec rather strictly, and only places : before messages if it's needed (if the message has a space in it or starts with a :). This is because of how the sending code works... but your version of pirc is hardcoded to parse up to the " :". This is invalid and results in the whole packet being printed in the chat log when a message param isn't prefixed.

This is from pirc, not your code, so I was hesitant to submit a patch. Is there a new version of pirc or something, or how is this handled with bundled packages?

danopia avatar Jun 19 '11 16:06 danopia

Oh that's interessting. Especially I'd like to know if this broke during the development or if this is actually broken in PircBot too.

PircBot is not really maintained but in a usable state: http://www.jibble.org/pircbot.php

We currently use a patched version of PircBot to use SSL and some custom callbacks. If this is a general bug in the library I think Paul would like to know too ;)

I think in the long run there will be more refactorings done on the bundled version of PircBot until it's some kind of customized library layer for Yaaic.

pocmo avatar Jun 28 '11 18:06 pocmo

PircBot is still not maintained, but there is an alternative option named PircBotX. I am not sure if this can be a solution for danopia's issue but It can be considerable library for Yaaic because PircBotX is being actively developed.

http://code.google.com/p/pircbotx/

mmx900 avatar Apr 14 '13 11:04 mmx900

Thanks for the hint. Maybe PircBotX is really something we should consider using.

pocmo avatar Apr 24 '13 08:04 pocmo