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

Fix OTR init message causing unknown command errors. #42

Merged
merged 5 commits into from
Mar 25, 2016
Merged

Fix OTR init message causing unknown command errors. #42

merged 5 commits into from
Mar 25, 2016

Conversation

Tronic
Copy link
Contributor

@Tronic Tronic commented May 29, 2014

Remove newline characters from libotr output and customize the OTR init message for IRC users.

Closes bug #33.

Lasse Karkkainen added 5 commits May 29, 2014 09:25
…mmands.

When OTR session is initiated by sending ?OTR? message, Unknown command
errors are printed on Irssi status because only the first line gets sent
as PRIVMSG and the human-readable HTML-formattad instruction message gets
spit out as raw commands to the IRC server.

This patch works around the problem by converting any line break characters
(not allowed by IRC protocol) into spaces, thus also avoiding possible
security issues with any other unexpected output from libotr even if this
particular message string is fixed (like I intend to do in my next patch).
…ith a

description customized for IRC and irssi-otr.
@dgoulet
Copy link
Member

dgoulet commented Jun 2, 2014

Hey thanks for this! I'll be looking into this pretty soon! Just wanted to ack your pull req. (and the two others).

@Tronic
Copy link
Contributor Author

Tronic commented Dec 30, 2014

Any updates on this? There's also another fork called ahf-hax that looks interesting but unfortunately it is not based on mine and I have no time to properly review his work and do a merge.

@DrWhax
Copy link
Member

DrWhax commented Jan 1, 2015

We are working with afh to get things polished and in addition, we're looking into the possibility of merging this into Irssi upstream. Stay tuned!

@anarcat
Copy link
Contributor

anarcat commented Mar 22, 2016

@DrWhax i have been hearing about otr being merged in irssi upstream for a while now (your message is the oldest such utterance for me). so i don't think it should keep valid patches from being merged here, on the contrary: as long as the upstream otr module is not available, this here is the real thing that people use.

i would go even further and say that improvements done on the irssi-otr native module should be merged here before the merge module is released.

@dgoulet dgoulet merged commit 565e760 into cryptodotis:master Mar 25, 2016
@dgoulet
Copy link
Member

dgoulet commented Mar 25, 2016

Did some syntax fixes in 251f7b8. Big thanks!

@anarcat
Copy link
Contributor

anarcat commented Mar 25, 2016

nice, thanks for the merge.

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.

4 participants