diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-16 12:25:50 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-16 12:25:50 +0000 |
commit | 72a590ae6dbc50bca907c81812cb3f4087f76046 (patch) | |
tree | c0d88f4c66aebb0c27fb97d8f1dc10634ca67119 /modules | |
parent | de3a7065fa90de18b1224baa0dda9e707872445d (diff) |
- m_svinfo.c: minimum required argument count is 5. Remove redundant test on parc
in ms_svinfo()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3173 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_svinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_svinfo.c b/modules/m_svinfo.c index 28072f6..dd60d54 100644 --- a/modules/m_svinfo.c +++ b/modules/m_svinfo.c @@ -56,7 +56,7 @@ ms_svinfo(struct Client *client_p, struct Client *source_p, return 0; } - if (!IsServer(source_p) || !MyConnect(source_p) || parc < 5) + if (!IsServer(source_p) || !MyConnect(source_p)) return 0; if (TS_CURRENT < atoi(parv[2]) || atoi(parv[1]) < TS_MIN) @@ -119,7 +119,7 @@ ms_svinfo(struct Client *client_p, struct Client *source_p, static struct Message svinfo_msgtab = { - "SVINFO", 0, 0, 4, MAXPARA, MFLG_SLOW, 0, + "SVINFO", 0, 0, 5, MAXPARA, MFLG_SLOW, 0, { m_unregistered, m_ignore, ms_svinfo, m_ignore, m_ignore, m_ignore } }; |