diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-11-13 20:28:53 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2012-11-13 20:28:53 +0000 |
commit | ebb5967a19ee6abdd70a965ff8ca127df47f136f (patch) | |
tree | 4b83ace97e2b2d855be8474612014d9af787215e /modules/m_etrace.c | |
parent | e13f9deabc82ad42abb8adf1ab8d416a764aeafc (diff) |
- changed match() polarity. match() now returns 0 on match and 1 on non-match
This cleans up several places where function pointers of different matching
functions like irccmp/strcmp/match are passed to other functions.
- added improved collapse() to match.c
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1652 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_etrace.c')
-rw-r--r-- | modules/m_etrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_etrace.c b/modules/m_etrace.c index b98d8e3..0cf5062 100644 --- a/modules/m_etrace.c +++ b/modules/m_etrace.c @@ -105,7 +105,7 @@ do_etrace(struct Client *source_p, int parc, char *parv[]) if (wilds) { - if (match(tname, target_p->name)) + if (!match(tname, target_p->name)) report_this_status(source_p, target_p, full_etrace); } else |