forked from External/ergo
move to channel-based logging
This commit is contained in:
parent
77d053ccac
commit
e15f47c766
9 changed files with 80 additions and 71 deletions
|
|
@ -2,7 +2,6 @@ package irc
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
"time"
|
||||
)
|
||||
|
|
@ -149,9 +148,7 @@ func (client *Client) destroy() {
|
|||
|
||||
client.socket.Close()
|
||||
|
||||
if DEBUG_CLIENT {
|
||||
log.Printf("%s: destroyed", client)
|
||||
}
|
||||
Log.debug.Printf("%s: destroyed", client)
|
||||
}
|
||||
|
||||
func (client *Client) IdleTime() time.Duration {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue