summaryrefslogtreecommitdiff
path: root/irc/states.go
diff options
context:
space:
mode:
Diffstat (limited to 'irc/states.go')
-rw-r--r--irc/states.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc/states.go b/irc/states.go
index 365224e..61d06a4 100644
--- a/irc/states.go
+++ b/irc/states.go
@@ -847,6 +847,7 @@ func (s *Session) privmsgToEvent(msg Message) (ev Event) {
// PRIVMSG to self
ev = QueryMessageEvent{
Nick: nick,
+ Target: msg.Params[0],
Command: msg.Command,
Content: msg.Params[1],
Time: t,