summaryrefslogtreecommitdiff
path: root/modules/m_info.c
diff options
context:
space:
mode:
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;