Changeset 561 in code for trunk/upstream.go


Ignore:
Timestamp:
Jun 23, 2021, 9:45:14 AM (4 years ago)
Author:
contact
Message:

Forward LUSERS and STATS messages after initial registration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r559 r561  
    14561456                // Ignore
    14571457        case irc.RPL_LUSERCLIENT, irc.RPL_LUSEROP, irc.RPL_LUSERUNKNOWN, irc.RPL_LUSERCHANNELS, irc.RPL_LUSERME:
    1458                 // Ignore
     1458                fallthrough
     1459        case irc.RPL_STATSVLINE, rpl_statsping, irc.RPL_STATSBLINE, irc.RPL_STATSDLINE:
     1460                fallthrough
     1461        case rpl_localusers, rpl_globalusers:
     1462                fallthrough
    14591463        case irc.RPL_MOTDSTART, irc.RPL_MOTD:
     1464                // Ignore these messages if they're part of the initial registration
     1465                // message burst. Forward them if the user explicitly asked for them.
    14601466                if !uc.gotMotd {
    14611467                        return nil
     
    14701476                })
    14711477        case irc.RPL_LISTSTART:
    1472                 // Ignore
    1473         case rpl_localusers, rpl_globalusers:
    1474                 // Ignore
    1475         case irc.RPL_STATSVLINE, rpl_statsping, irc.RPL_STATSBLINE, irc.RPL_STATSDLINE:
    14761478                // Ignore
    14771479        case "ERROR":
Note: See TracChangeset for help on using the changeset viewer.