forked from External/ergo
use the new irc-go identifiers
This commit is contained in:
parent
896ed91d45
commit
131eb229bc
9 changed files with 89 additions and 89 deletions
|
|
@ -98,7 +98,7 @@ func parseUbanTarget(param string) (target ubanTarget, err error) {
|
|||
}
|
||||
|
||||
// UBAN <subcommand> [target] [DURATION <duration>] [reason...]
|
||||
func ubanHandler(server *Server, client *Client, msg ircmsg.IRCMessage, rb *ResponseBuffer) bool {
|
||||
func ubanHandler(server *Server, client *Client, msg ircmsg.Message, rb *ResponseBuffer) bool {
|
||||
subcommand := strings.ToLower(msg.Params[0])
|
||||
params := msg.Params[1:]
|
||||
var target ubanTarget
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue