]> jfr.im git - irc/anope/anope.git/commit
Adjust IsIdentValid test to comply with upcoming ircd-hybrid release (#272).
authorMichael Wobst <redacted>
Sun, 9 Jan 2022 15:25:09 +0000 (16:25 +0100)
committerGitHub <redacted>
Sun, 9 Jan 2022 15:25:09 +0000 (15:25 +0000)
commitc38106211ce6d20d17c2c49286a2c0b5f3a6229b
tree256108a010a9cd306a3839c042307740866976ce
parentb8bcad048e7a87594e15bb0b42317fb3a4f64b83
Adjust IsIdentValid test to comply with upcoming ircd-hybrid release (#272).

hybrid.cpp: adjust IsIdentValid test to comply with upcoming ircd-hybrid where
user names may only consist of [A-Za-z0-9._-] and may not begin with '.', '-',
or '_'.

As a side effect this fixes an issue where currently it is possible to introduce
bots whose user name starts with (non-alnum) characters considered invalid for
ircd-hybrid leading to a services shutdown due to a nick introduction/kill loop.
modules/protocol/hybrid.cpp