From 81a0f193902f3654bc8cfca72782cc1955601086 Mon Sep 17 00:00:00 2001 From: Jeremy Latt Date: Sun, 16 Feb 2014 09:41:16 -0800 Subject: [PATCH] fix bad ref in part command --- irc/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/server.go b/irc/server.go index 30bef77b..6483d68b 100644 --- a/irc/server.go +++ b/irc/server.go @@ -371,7 +371,7 @@ func (m *PartCommand) HandleServer(server *Server) { server.mutex.Unlock() if channel == nil { - m.Client().Reply(ErrNoSuchChannel(server, channel.name)) + m.Client().Reply(ErrNoSuchChannel(server, chname)) continue }