summaryrefslogtreecommitdiff
path: root/modules/m_motd.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_motd.c')
-rw-r--r--modules/m_motd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_motd.c b/modules/m_motd.c
index 4f30eb7..9dcc231 100644
--- a/modules/m_motd.c
+++ b/modules/m_motd.c
@@ -67,7 +67,7 @@ m_motd(struct Client *client_p, struct Client *source_p,
last_used = CurrentTime;
/* This is safe enough to use during non hidden server mode */
- if (!ConfigFileEntry.disable_remote && !ConfigServerHide.hide_servers)
+ if (!ConfigServerHide.disable_remote_commands && !ConfigServerHide.hide_servers)
if (hunt_server(client_p, source_p, ":%s MOTD :%s", 1,
parc, parv) != HUNTED_ISME)
return;