diff options
| author | 2021-12-23 21:28:04 +0000 | |
|---|---|---|
| committer | 2021-12-23 21:34:53 +0000 | |
| commit | 6282e1f28716b4a9beae52779119cf75373e3ee4 (patch) | |
| tree | 5431efb60b50d1249af5980a8389d511d0c760f1 /src/modules/m_websocket.cpp | |
| parent | Fix an unintentionally inverted condition in the dnsbl module. (diff) | |
Promote ExtensionItem::ExtensibleType to a top level enum class.
Diffstat (limited to 'src/modules/m_websocket.cpp')
| -rw-r--r-- | src/modules/m_websocket.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp index 5d7b95c36..0df7e0818 100644 --- a/src/modules/m_websocket.cpp +++ b/src/modules/m_websocket.cpp @@ -627,9 +627,9 @@ class ModuleWebSocket final hookprov->config = config; } - void OnCleanup(ExtensionItem::ExtensibleType type, Extensible* item) override + void OnCleanup(ExtensionType type, Extensible* item) override { - if (type != ExtensionItem::EXT_USER) + if (type != ExtensionType::USER) return; LocalUser* user = IS_LOCAL(static_cast<User*>(item)); |
