Changeset 304 in code for trunk/upstream.go


Ignore:
Timestamp:
May 27, 2020, 9:51:44 PM (5 years ago)
Author:
delthas
Message:

Fix parsing upstream RPL_INVITING messages

Previously, we did not skip the first RPL_INVITING parameter, which is
the user nick (like in all replies), which made the parsing for that
reply incorrect.

This fixes RPL_INVITING parsing by skipping the first parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r303 r304  
    11781178        case irc.RPL_INVITING:
    11791179                var nick, channel string
    1180                 if err := parseMessageParams(msg, &nick, &channel); err != nil {
     1180                if err := parseMessageParams(msg, nil, &nick, &channel); err != nil {
    11811181                        return err
    11821182                }
Note: See TracChangeset for help on using the changeset viewer.