mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
modes: Fix error with cmodes being sent badly
This commit is contained in:
parent
517893065b
commit
c599c8f599
@ -513,7 +513,7 @@ func cmodeHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
|
|||||||
|
|
||||||
change := channel.applyModeMember(client, change.mode, change.op, change.arg)
|
change := channel.applyModeMember(client, change.mode, change.op, change.arg)
|
||||||
if change != nil {
|
if change != nil {
|
||||||
applied = append(changes, change)
|
applied = append(applied, change)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user