commit 24134d94b0594db52df863783a980ff5179b10eb
parent c146d4cc5ccc2e7ba646fd75f9c80d89c00ba3aa
Author: sin <sin@2f30.org>
Date: Wed, 8 May 2013 15:53:03 +0100
use log package to dump output
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/irc/irc.go b/src/irc/irc.go
@@ -198,7 +198,7 @@ func (i *IrcContext) rxRawMessages() error {
return err
}
if n != 0 {
- fmt.Println(string(buf[0 : n-1]))
+ log.Println(string(buf[0 : n-1]))
s := string(buf[0:n])
msg, err := i.ParseRawMessage(s)