Log outgoing messages
This commit is contained in:
parent
eedc687f18
commit
0daf3244cb
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ func (h *wsHandler) message(b []byte) {
|
||||||
|
|
||||||
if i, ok := h.session.getIRC(data.Server); ok {
|
if i, ok := h.session.getIRC(data.Server); ok {
|
||||||
i.Privmsg(data.To, data.Content)
|
i.Privmsg(data.To, data.Content)
|
||||||
|
go h.session.user.LogMessage(data.Server, i.GetNick(), data.To, data.Content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue