diff options
| author | 2023-03-24 11:22:09 +0000 | |
|---|---|---|
| committer | 2023-03-24 12:01:03 +0000 | |
| commit | 054fd8de79ea8b8b9b198e9511df990aea7bd9ff (patch) | |
| tree | bb93e5a4c8af4df379cba3884f0a556071d04684 /src/modules/m_gateway.cpp | |
| parent | [workflow] Fix misspell-fixer exceptions. (diff) | |
Allow modules to provide an error for when a class doesn't match.
Diffstat (limited to 'src/modules/m_gateway.cpp')
| -rw-r--r-- | src/modules/m_gateway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp index af776d816..370c06337 100644 --- a/src/modules/m_gateway.cpp +++ b/src/modules/m_gateway.cpp @@ -406,7 +406,7 @@ public: cmdwebirc.hosts.swap(webirchosts); } - ModResult OnPreChangeConnectClass(LocalUser* user, const std::shared_ptr<ConnectClass>& klass) override + ModResult OnPreChangeConnectClass(LocalUser* user, const std::shared_ptr<ConnectClass>& klass, std::optional<Numeric::Numeric>& errnum) override { // If <connect:webirc> is not set then we have nothing to do. const std::string webirc = klass->config->getString("webirc"); |
