#51 ZNC doesn't parse PASS messages correctly.

closed-fixed
Engine (43)
5
2009-03-02
2009-02-27
No

According to the IRC spec, for all messages, including PASS, the last parameter can be prefixed with a colon, allowing spaces in that parameter. ZNC does not handle a PASS message where the password argument is prefixed with a colon. And here's the fix:

Client.cpp, line 90:
m_sPass = sLine.Token(1);
if (m_sPass.Left(1) == ":") {
m_sPass.LeftChomp();
}

Discussion

  • Psychon

    Psychon - 2009-03-02

    I think SilverLeo fixed this in rev 1403 but didn't close the bug report.
    Please reopen if I'm wrong.

     
  • Psychon

    Psychon - 2009-03-02
    • assigned_to: prozacx --> silverleo
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks