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_ping.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_ping.c')
-rw-r--r-- | modules/m_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_ping.c b/modules/m_ping.c index 520b00a..cec3596 100644 --- a/modules/m_ping.c +++ b/modules/m_ping.c @@ -58,7 +58,7 @@ m_ping(struct Client *client_p, struct Client *source_p, origin = parv[1]; destination = parv[2]; /* Will get NULL or pointer (parc >= 2!!) */ - if (ConfigFileEntry.disable_remote && !HasUMode(source_p, UMODE_OPER)) + if (ConfigServerHide.disable_remote_commands && !HasUMode(source_p, UMODE_OPER)) { sendto_one(source_p, ":%s PONG %s :%s", me.name, (destination) ? destination : me.name, origin); |