1
0
Fork 0
forked from External/ergo

channel: Fix MODE and WHO

This commit is contained in:
Daniel Oaks 2016-10-16 21:28:59 +10:00
parent 78f0064347
commit 425a521d27
3 changed files with 3 additions and 3 deletions

View file

@ -209,7 +209,7 @@ var (
func modeHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
_, errChan := CasefoldChannel(msg.Params[0])
if errChan != nil {
if errChan == nil {
return cmodeHandler(server, client, msg)
} else {
return umodeHandler(server, client, msg)