Changeset 176 in code for trunk/downstream.go


Ignore:
Timestamp:
Mar 27, 2020, 11:07:20 PM (5 years ago)
Author:
delthas
Message:

Make upstream.SendMessageLabeled use an uint64 id

This commit is preparatory work for code that will call
SendMessageLabeled with a direct downstream id rather than a
downstreamConnection pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r173 r176  
    11001100                        } else {
    11011101                                // NAMES on a channel we have not joined, ask upstream
    1102                                 uc.SendMessageLabeled(dc, &irc.Message{
     1102                                uc.SendMessageLabeled(dc.id, &irc.Message{
    11031103                                        Command: "NAMES",
    11041104                                        Params:  []string{upstreamChannel},
     
    11471147                }
    11481148
    1149                 uc.SendMessageLabeled(dc, &irc.Message{
     1149                uc.SendMessageLabeled(dc.id, &irc.Message{
    11501150                        Command: "WHO",
    11511151                        Params:  params,
     
    12041204                }
    12051205
    1206                 uc.SendMessageLabeled(dc, &irc.Message{
     1206                uc.SendMessageLabeled(dc.id, &irc.Message{
    12071207                        Command: "WHOIS",
    12081208                        Params:  params,
     
    12891289                uc := ucChannel
    12901290
    1291                 uc.SendMessageLabeled(dc, &irc.Message{
     1291                uc.SendMessageLabeled(dc.id, &irc.Message{
    12921292                        Command: "INVITE",
    12931293                        Params:  []string{upstreamUser, upstreamChannel},
Note: See TracChangeset for help on using the changeset viewer.