aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xS/main.go2
1 files changed, 1 insertions, 1 deletions
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
}