diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-03 13:59:41 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-03 13:59:41 +0000 |
commit | 36ad1362178afa777fb41884ba0e2a3c93df24cb (patch) | |
tree | 69caf1fc85082cc97aa80eae6853783c5c7eec54 /modules/m_motd.c | |
parent | b9b219f7b47fb9a3692cb8e0e1015a9500728260 (diff) |
- Removed useless sanity checks
- Fixed bug where remote /STATS requests were not rate limited
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2342 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_motd.c')
-rw-r--r-- | modules/m_motd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/m_motd.c b/modules/m_motd.c index 9dcc231..f84eeb4 100644 --- a/modules/m_motd.c +++ b/modules/m_motd.c @@ -92,9 +92,6 @@ static void mo_motd(struct Client *client_p, struct Client *source_p, int parc, char *parv[]) { - if (!IsClient(source_p)) - return; - if (hunt_server(client_p, source_p, ":%s MOTD :%s", 1, parc, parv) != HUNTED_ISME) return; |