Changeset 157 in code


Ignore:
Timestamp:
Mar 25, 2020, 10:21:26 PM (5 years ago)
Author:
delthas
Message:

Fix wrong handling of members parameter of RPL_NAMREPLY

Some servers (namely UnrealIRCd) wrongly add a trailing space to the
members parameters of the RPL_NAMREPLY command, which was not handled
correctly.

Adding a trailing space is not legal wrt the IRC specs, but since
UnrealIRCd does it and is in wide use today, we have to work around it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r156 r157  
    747747                        return err
    748748                }
     749                members = strings.TrimRight(members, " ")
    749750
    750751                ch, ok := uc.channels[name]
Note: See TracChangeset for help on using the changeset viewer.