From fd24369eaf7b61c909815e726ed315028546ee97 Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Wed, 27 Jul 2016 15:56:59 +0200 Subject: [PATCH] fixed ERR_PASSWDMISMATCH reply --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index f31e75a..4471166 100644 --- a/server.go +++ b/server.go @@ -157,7 +157,7 @@ func (sv *Server) dispatcher() { continue } if !sv.authCallback(cl.Name(), cl.Password()) { - cl.Receive(irc.M(sv.host, ERR_PASSWDMISMATCH, cl.Name(), "Password incorrect")) + cl.Receive(irc.M(sv.host, ERR_PASSWDMISMATCH, "", "Password incorrect")) go func() { time.Sleep(5 * time.Second) cl.Register(false)