Add message logging and search server side

This commit is contained in:
khlieng 2015-04-29 23:54:44 +02:00
parent 6378131a9d
commit 3365832ce3
738 changed files with 143131 additions and 112 deletions

View file

@ -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