summaryrefslogtreecommitdiff
path: root/modules/m_whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/m_whois.c')
-rw-r--r--modules/m_whois.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_whois.c b/modules/m_whois.c
index a1e736c..b71806c 100644
--- a/modules/m_whois.c
+++ b/modules/m_whois.c
@@ -221,7 +221,7 @@ m_whois(struct Client *client_p, struct Client *source_p,
* server, or our server.. I dont see why they would need to ask
* anything else for info about the client.. --fl_
*/
- if (ConfigFileEntry.disable_remote)
+ if (ConfigServerHide.disable_remote_commands)
parv[1] = parv[2];
if (hunt_server(client_p, source_p, ":%s WHOIS %s :%s", 1,