From 066134263e4f2ba09df48c60721f0cc9ceba17c3 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 4 Oct 2014 08:10:14 -0400 Subject: [PATCH] Change duplicate error message for missing irc.nick. --- irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.go b/irc.go index 59c5372..1ee1405 100644 --- a/irc.go +++ b/irc.go @@ -341,7 +341,7 @@ func (irc *Connection) Connect(server string) error { return errors.New("'Log' points to nil") } if len(irc.nick) == 0 { - return errors.New("empty 'user'") + return errors.New("empty 'nick'") } if len(irc.user) == 0 { return errors.New("empty 'user'")