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)
commite73d70ce6fab3acdefe914520a4296acb6d50eac
tree1db6827a5a4541f0a6b87e43c2071191e3b19cdf
parent2560e5f1560b6b4a225e77de67876a588543c53d
Remove "range matching" functionality

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!
src/ngircd/match.c