mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix invite message to clients
This commit is contained in:
parent
d6688a3047
commit
04bb79a610
4 changed files with 6 additions and 8 deletions
|
|
@ -853,9 +853,8 @@ func (msg *InviteCommand) HandleServer(server *Server) {
|
|||
|
||||
channel := server.channels.Get(msg.channel)
|
||||
if channel == nil {
|
||||
name := strings.ToLower(msg.channel)
|
||||
client.RplInviting(target, name)
|
||||
target.Reply(RplInviteMsg(client, name))
|
||||
client.RplInviting(target, msg.channel)
|
||||
target.Reply(RplInviteMsg(client, target, msg.channel))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue