diff options
| author | 2018-12-12 13:51:26 +0000 | |
|---|---|---|
| committer | 2018-12-12 14:43:55 +0000 | |
| commit | 51891f10f2a05e16e45651a669db6680a433bf9b (patch) | |
| tree | 795c43424f68ed0f6ea4e718f955667828d1087e /src/usermanager.cpp | |
| parent | Fix overly escaping MOTDs if they are in more than one connect class. (diff) | |
Fix a crash when the core_oper module is not loaded.
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 968d5db00..6f9d15502 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -221,6 +221,7 @@ void UserManager::QuitUser(User* user, const std::string& quitreason, const std: uuidlist.erase(user->uuid); user->PurgeEmptyChannels(); + user->UnOper(); } void UserManager::AddClone(User* user) |
