summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 6053d9126..65a416a47 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -1141,7 +1141,7 @@ void ShowMOTD(userrec *user)
void ShowRULES(userrec *user)
{
- if (!RULES.size())
+ if (!Config->RULES.size())
{
WriteServ(user->fd,"NOTICE %s :Rules file is missing.",user->nick);
return;