diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-19 12:10:16 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-19 12:10:16 +0000 |
commit | 5d846a93a54cdd300f1ede4c18b4ff3b70e3df6d (patch) | |
tree | 57da404910a4d35e94bca2d824125651d1d0024d /modules | |
parent | 1471e45206d10c9f5e13b753da7b2fb063241e5b (diff) |
- m_trace.c:ms_trace(): properly check return value of hunt_server()
against HUNTED_ISME. Just in case the HUNT_* definitions get
changed some day
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2864 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_trace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/m_trace.c b/modules/m_trace.c index 7daa44e..bd35d17 100644 --- a/modules/m_trace.c +++ b/modules/m_trace.c @@ -157,7 +157,8 @@ static int ms_trace(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - if (hunt_server(client_p, source_p, ":%s TRACE %s :%s", 2, parc, parv)) + if (hunt_server(client_p, source_p, ":%s TRACE %s :%s", + 2, parc, parv) != HUNTED_ISME) return 0; if (HasUMode(source_p, UMODE_OPER)) |