summaryrefslogtreecommitdiff
path: root/modules/m_info.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-04 18:33:25 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-04 18:33:25 +0000
commitbbe4d98dda1f47ce1097fd0aa020d5289199056c (patch)
tree9ddf9adeb6fd6d37566d8d240acc84bf101f4f3a /modules/m_info.c
parent925439c6d70e73d48e7a64c8417981c3c5d54e48 (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_info.c')
-rw-r--r--modules/m_info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_info.c b/modules/m_info.c
index 5cf4a5b..111920c 100644
--- a/modules/m_info.c
+++ b/modules/m_info.c
@@ -291,7 +291,7 @@ static const struct InfoStruct info_table[] =
{
"disable_remote_commands",
OUTPUT_BOOLEAN_YN,
- &ConfigFileEntry.disable_remote,
+ &ConfigServerHide.disable_remote_commands,
"Prevent users issuing commands on remote servers"
},
{
@@ -695,7 +695,7 @@ m_info(struct Client *client_p, struct Client *source_p,
last_used = CurrentTime;
- if (!ConfigFileEntry.disable_remote)
+ if (!ConfigServerHide.disable_remote_commands)
if (hunt_server(client_p,source_p, ":%s INFO :%s", 1,
parc, parv) != HUNTED_ISME)
return;