diff options
author | Přemysl Janouch <p@janouch.name> | 2018-08-02 18:42:32 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-08-02 18:42:32 +0200 |
commit | 9ee07873ea043ff52e977060751e4801eb047ee2 (patch) | |
tree | 4902c4e5e64d29e80587f840da15d6d27bde37bb | |
parent | 7ee7dc5f9b67c97f02b7d90d9446290cb92b7d29 (diff) | |
download | xK-9ee07873ea043ff52e977060751e4801eb047ee2.tar.gz xK-9ee07873ea043ff52e977060751e4801eb047ee2.tar.xz xK-9ee07873ea043ff52e977060751e4801eb047ee2.zip |
hid: fix nickname verification in the user MODE message
-rw-r--r-- | xS/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |