Log outgoing messages
This commit is contained in:
parent
eedc687f18
commit
0daf3244cb
@ -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…
Reference in New Issue
Block a user