Fixed private messaging between users

This commit is contained in:
ed 2016-03-07 20:38:49 -05:00 committed by Harry Jeffery
parent eed3517995
commit 7cf71b33fa

View File

@ -204,7 +204,7 @@ func (s *Server) handleCommand(client *Client, command string, args []string) {
} }
} }
} else if clientExists { } else if clientExists {
client.reply(rplMsg, client.nick, client2.nick, message) client2.reply(rplMsg, client.nick, client2.nick, message)
} else { } else {
client.reply(errNoSuchNick, args[0]) client.reply(errNoSuchNick, args[0])
} }