aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_websocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_websocket.cpp')
-rw-r--r--src/modules/m_websocket.cpp4
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));