move to channel-based logging

This commit is contained in:
Jeremy Latt 2014-03-08 15:01:15 -08:00
parent 77d053ccac
commit e15f47c766
9 changed files with 80 additions and 71 deletions

View file

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