Add message logging and search server side
This commit is contained in:
parent
6378131a9d
commit
3365832ce3
738 changed files with 143131 additions and 112 deletions
|
@ -88,6 +88,10 @@ func handleMessages(irc *IRC, session *Session) {
|
|||
})
|
||||
}
|
||||
|
||||
if msg.Params[0] != "*" {
|
||||
session.user.LogMessage(irc.Host, msg.Prefix, msg.Params[0], msg.Trailing)
|
||||
}
|
||||
|
||||
case QUIT:
|
||||
user := msg.Prefix
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue