Avoid leaking information through ChanServ's ban matching.
authorMichael Poole <mdpoole@troilus.org>
Tue, 1 Nov 2005 00:37:44 +0000 (00:37 +0000)
committerMichael Poole <mdpoole@troilus.org>
Tue, 1 Nov 2005 00:37:44 +0000 (00:37 +0000)
commite36a8c061fa07c9b03f5ac150c3a6738248ca5e3
tree742361cc0fe89abf382de54b3eb257537948641d
parent0669b78c4bb443fbc6642eddcbe6778cfd124d6f
Avoid leaking information through ChanServ's ban matching.

src/common.h (user_matches_glob): Convert last argument to be flags.

src/tools.c (user_matches_glob): Reorder tests to properly implement
    the MATCH_VISIBLE flag.

src/chanserv.c: Update callers of user_matches_glob() to set
    the MATCH_VISIBLE flag (in addition to MATCH_USENICK).

src/opserv.c: Update callers of user_matches_glob() to pass the
    MATCH_USENICK flag.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-32
ChangeLog
src/chanserv.c
src/common.h
src/opserv.c
src/tools.c