Changeset 49 in code for trunk/server.go


Ignore:
Timestamp:
Feb 7, 2020, 12:36:32 PM (5 years ago)
Author:
contact
Message:

Handle downstream PART messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server.go

    r46 r49  
    7676        })
    7777        if channel == nil {
    78                 return nil, fmt.Errorf("unknown channel %q", name)
     78                return nil, ircError{&irc.Message{
     79                        Command: irc.ERR_NOSUCHCHANNEL,
     80                        Params:  []string{name, "No such channel"},
     81                }}
    7982        }
    8083        return channel, nil
Note: See TracChangeset for help on using the changeset viewer.