diff options
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_oper.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/cmd_oper.cpp b/src/commands/cmd_oper.cpp index 70376c894..55277b1ba 100644 --- a/src/commands/cmd_oper.cpp +++ b/src/commands/cmd_oper.cpp @@ -89,7 +89,10 @@ CmdResult CommandOper::Handle (const char** parameters, int, User *user) if (*HostName) user->ChangeDisplayedHost(HostName); if (*ClassName) - user->CheckClass(ClassName); + { + user->SetClass(ClassName); + user->CheckClass(); + } found = true; type_invalid = false; break; |