diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-04 18:33:25 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-04 18:33:25 +0000 |
commit | bbe4d98dda1f47ce1097fd0aa020d5289199056c (patch) | |
tree | 9ddf9adeb6fd6d37566d8d240acc84bf101f4f3a /modules/m_stats.c | |
parent | 925439c6d70e73d48e7a64c8417981c3c5d54e48 (diff) |
- Moved disable_remote_command configuration directive from
general{} block to serverhide{] block
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2197 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_stats.c')
-rw-r--r-- | modules/m_stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_stats.c b/modules/m_stats.c index 9d8474c..28e4342 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -1241,7 +1241,7 @@ stats_uptime(struct Client *source_p, int parc, char *parv[]) sendto_one(source_p, form_str(RPL_STATSUPTIME), from, to, now / 86400, (now / 3600) % 24, (now / 60) % 60, now % 60); - if (!ConfigFileEntry.disable_remote || HasUMode(source_p, UMODE_OPER)) + if (!ConfigServerHide.disable_remote_commands || HasUMode(source_p, UMODE_OPER)) sendto_one(source_p, form_str(RPL_STATSCONN), from, to, Count.max_loc_con, Count.max_loc_cli, Count.totalrestartcount); } @@ -1632,7 +1632,7 @@ m_stats(struct Client *client_p, struct Client *source_p, static time_t last_used = 0; /* Is the stats meant for us? */ - if (!ConfigFileEntry.disable_remote) + if (!ConfigServerHide.disable_remote_commands) if (hunt_server(client_p, source_p, ":%s STATS %s :%s", 2, parc, parv) != HUNTED_ISME) return; |