/reply: Enabled again.
authorAndrey Petrov <andrey.petrov@shazow.net>
Tue, 16 Aug 2016 18:20:32 +0000 (14:20 -0400)
committerAndrey Petrov <andrey.petrov@shazow.net>
Tue, 16 Aug 2016 18:20:51 +0000 (14:20 -0400)
Fixes #202

host.go

diff --git a/host.go b/host.go
index 52e4416f7865e6037a4a0e09cfe46963a1a04406..631375b1d10b33c2caf9e0a1d6d8060933f81f7d 100644 (file)
--- a/host.go
+++ b/host.go
@@ -292,6 +292,7 @@ func (h *Host) InitCommands(c *chat.Commands) {
                        txt := fmt.Sprintf("[Sent PM to %s]", target.Name())
                        ms := message.NewSystemMsg(txt, msg.From())
                        room.Send(ms)
+                       target.SetReplyTo(msg.From())
                        return nil
                },
        })