From 9ee07873ea043ff52e977060751e4801eb047ee2 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Thu, 2 Aug 2018 18:42:32 +0200 Subject: hid: fix nickname verification in the user MODE message --- xS/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xS') diff --git a/xS/main.go b/xS/main.go index c078440..39453f9 100644 --- a/xS/main.go +++ b/xS/main.go @@ -1921,7 +1921,7 @@ func ircHandleMODE(msg *message, c *client) { ch := channels[ircToCanon(target)] if client != nil { - if ircEqual(target, c.nickname) { + if !ircEqual(target, c.nickname) { c.sendReply(ERR_USERSDONTMATCH) return } -- cgit v1.2.3-70-g09d2