]> jfr.im git - irc/rqf/shadowircd.git/commit - src/match.c
[svn] Add mask_match(), like ircu mmatch().
authorjilles <redacted>
Sat, 14 Jul 2007 13:32:18 +0000 (06:32 -0700)
committerjilles <redacted>
Sat, 14 Jul 2007 13:32:18 +0000 (06:32 -0700)
commitdf251055ca34abd2cf07b86dcbf3c8bb28e98009
treed3b084520169630e5366df3c6b2fb2da20db5303
parent94d53e53a43a2aa36a658c01f78abe9f3f9ddbfe
[svn] Add mask_match(), like ircu mmatch().
This compares two masks and returns whether the "new" is
more specific than or equal to the "old". The difference
with match() is that a '?' in "old" does not match a '*' in
"new".
ChangeLog
include/irc_string.h
include/serno.h
src/match.c