1
0
Fork 0
forked from External/ergo

bump irc-go for the IRCMessage rename

This commit is contained in:
Shivaram Lingamneni 2021-02-15 11:27:04 -05:00
parent 2fbbfb1337
commit e957a89ee2
13 changed files with 119 additions and 117 deletions

View file

@ -11,7 +11,7 @@ import (
// Command represents a command accepted from a client.
type Command struct {
handler func(server *Server, client *Client, msg ircmsg.IrcMessage, rb *ResponseBuffer) bool
handler func(server *Server, client *Client, msg ircmsg.IRCMessage, rb *ResponseBuffer) bool
usablePreReg bool
allowedInBatch bool // allowed in client-to-server batches
minParams int
@ -19,7 +19,7 @@ type Command struct {
}
// Run runs this command with the given client/message.
func (cmd *Command) Run(server *Server, client *Client, session *Session, msg ircmsg.IrcMessage) (exiting bool) {
func (cmd *Command) Run(server *Server, client *Client, session *Session, msg ircmsg.IRCMessage) (exiting bool) {
rb := NewResponseBuffer(session)
rb.Label = GetLabel(msg)