mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-27 09:28:09 -07:00
fix invite message to clients
This commit is contained in:
+2
-3
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user