]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Remove "range matching" functionality no-range-matching
authorAlexander Barton <alex@barton.de>
Wed, 15 Jan 2014 13:58:57 +0000 (14:58 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 15 Jan 2014 13:58:57 +0000 (14:58 +0100)
Don't support "range marching" in our pattern matching code using
the "[...]" syntax, because [ and ] are valid characters in nick
names and one has to quote them currently using the "\" character,
which is quite unexpected. For example:

  Nick "te[st" => "MODE #channel +b te\[st"

And remove quoting altogether, too, because "*" and "?" don't need
to be quoted because these characters are not allowed in IRC masks,
nicks, and hostnames.

Reported by "hifi" (Toni Spets) on IRC, thanks!


No differences found