summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index dd7694cbf..118507861 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -569,6 +569,12 @@ bool DoneConnect(ServerConfig *conf, const char*)
User *u = *n;
u->SetClass();
+
+ /*
+ * Check that the user falls into a valid class block.. if they don't,
+ * they need to be quit, which CheckClass will do. -- w00t
+ */
+ u->CheckClass();
}