diff options
| author | 2008-10-17 17:57:46 +0000 | |
|---|---|---|
| committer | 2008-10-17 17:57:46 +0000 | |
| commit | cd095102f471dc86dff08e141208bc9dc38cc78f (patch) | |
| tree | 98f59536be3491fafbbd626df156f89b23f9456d /src/configreader.cpp | |
| parent | Remove space indenting. (Brain, *smack* :P) (diff) | |
Don't neglect calling User::CheckClass after SetClass, so that users don't end up lingering with a NULL class if they shouldn't.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10656 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 6 |
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(); } |
