diff options
| author | 2024-09-09 15:44:38 +0100 | |
|---|---|---|
| committer | 2024-09-09 15:48:02 +0100 | |
| commit | 6204c9636e8ea87d690e1e7c06cbf35d04083586 (patch) | |
| tree | 9d4e437bc9b5849fb85a716c6ddcea272b137822 /src/usermanager.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
| parent | Send an ISupport diff when a user moves to a new connect class. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'src/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 93f74e134..d05da8c39 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2019 iwalkalone <iwalkalone69@gmail.com> * Copyright (C) 2013-2016, 2018 Attila Molnar <attilamolnar@hush.com> - * Copyright (C) 2013, 2018-2023 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2018-2024 Sadie Powell <sadie@witchery.services> * Copyright (C) 2013, 2015 Adam <Adam@anope.org> * Copyright (C) 2012 Robby <robby@chatbelgie.be> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> @@ -259,9 +259,9 @@ void UserManager::QuitUser(User* user, const std::string& quitmessage, const std LocalUser* const localuser = IS_LOCAL(user); if (localuser) { - ModResult MOD_RESULT; - FIRST_MOD_RESULT(OnUserPreQuit, MOD_RESULT, (localuser, quitmsg, operquitmsg)); - if (MOD_RESULT == MOD_RES_DENY) + ModResult modres; + FIRST_MOD_RESULT(OnUserPreQuit, modres, (localuser, quitmsg, operquitmsg)); + if (modres == MOD_RES_DENY) return; } |
