mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix #1259
This commit is contained in:
parent
2d277566b5
commit
20aaa1ab06
4 changed files with 12 additions and 12 deletions
|
|
@ -2554,7 +2554,7 @@ func renameHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Re
|
|||
targetRb = NewResponseBuffer(mSession)
|
||||
targetPrefix = mDetails.nickMask
|
||||
}
|
||||
if mSession.capabilities.Has(caps.Rename) {
|
||||
if mSession.capabilities.Has(caps.ChannelRename) {
|
||||
if reason != "" {
|
||||
targetRb.Add(nil, clientPrefix, "RENAME", oldName, newName, reason)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue