forked from External/ergo
logger: Add notice on connection when server is logging all I/O
This commit is contained in:
parent
f1bf73c249
commit
25a373b7eb
2 changed files with 8 additions and 1 deletions
|
|
@ -658,6 +658,9 @@ func (server *Server) tryRegister(c *Client) {
|
|||
c.RplISupport()
|
||||
server.MOTD(c)
|
||||
c.Send(nil, c.nickMaskString, RPL_UMODEIS, c.nick, c.ModeString())
|
||||
if server.logger.DumpingRawInOut {
|
||||
c.Notice("This server is in debug mode and is logging all user I/O. If you do not wish for everything you send to be readable by the server owner(s), please disconnect.")
|
||||
}
|
||||
}
|
||||
|
||||
// MOTD serves the Message of the Day.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue