mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
add sasl-only config option
This commit is contained in:
parent
ea07d99074
commit
1c23af8767
14 changed files with 200 additions and 216 deletions
|
|
@ -54,7 +54,9 @@ func (cmd *Command) Run(server *Server, client *Client, msg ircmsg.IrcMessage) b
|
|||
}
|
||||
|
||||
// most servers do this only for PING/PONG, but we'll do it for any command:
|
||||
client.idletimer.Touch()
|
||||
if client.registered {
|
||||
client.idletimer.Touch()
|
||||
}
|
||||
|
||||
if !cmd.leaveClientIdle {
|
||||
client.Active()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue