From 42ff4410ad632492c031e292bbce0dbc0602f352 Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Thu, 13 Feb 2014 19:49:31 -0800 Subject: [PATCH] more logging --- irc/socket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/socket.go b/irc/socket.go index 63a5bebd..e9ed86f7 100644 --- a/irc/socket.go +++ b/irc/socket.go @@ -87,7 +87,7 @@ func (socket *Socket) readLines() { func (socket *Socket) writeLines() { for line := range socket.send { - if DEBUG_CLIENT { + if DEBUG_NET { log.Printf("%s ← %s", socket, line) } if _, err := socket.writer.WriteString(line); socket.maybeLogWriteError(err) {