fix invite message to clients

This commit is contained in:
Jeremy Latt 2014-03-05 22:54:50 -08:00
parent d6688a3047
commit 04bb79a610
4 changed files with 6 additions and 8 deletions

View file

@ -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
}