aboutsummaryrefslogtreecommitdiff
path: root/hid/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'hid/main.go')
-rw-r--r--hid/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/main.go b/hid/main.go
index c078440..39453f9 100644
--- a/hid/main.go
+++ b/hid/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
}