diff options
author | Wim <wim@42.be> | 2017-11-30 00:28:17 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2017-11-30 00:28:17 +0100 |
commit | 1d414cf2fdbbf642307bea81756d95b6793a0f9d (patch) | |
tree | 78baeeef10f125abe2aff92b6354750f52ad49cc /vendor | |
parent | cc3c1681622ccbf304edc2fce05169ce983560ab (diff) | |
download | matterbridge-msglm-1d414cf2fdbbf642307bea81756d95b6793a0f9d.tar.gz matterbridge-msglm-1d414cf2fdbbf642307bea81756d95b6793a0f9d.tar.bz2 matterbridge-msglm-1d414cf2fdbbf642307bea81756d95b6793a0f9d.zip |
Allow ^ in nick (irc). Closes #305
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/github.com/lrstanley/girc/format.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/lrstanley/girc/format.go b/vendor/github.com/lrstanley/girc/format.go index 16639938..5e3b5a6a 100644 --- a/vendor/github.com/lrstanley/girc/format.go +++ b/vendor/github.com/lrstanley/girc/format.go @@ -232,7 +232,7 @@ func IsValidNick(nick string) bool { } for i := 1; i < len(nick); i++ { - if (nick[i] < 0x41 || nick[i] > 0x7D) && (nick[i] < 0x30 || nick[i] > 0x39) && nick[i] != 0x2D { + if (nick[i] < 0x41 || nick[i] > 0x7E) && (nick[i] < 0x30 || nick[i] > 0x39) && nick[i] != 0x2D { fmt.Println(nick[i], i, nick) // a-z, A-Z, 0-9, -, and _\[]{}^| return false |