X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_websocket.cpp;h=a7457f7886f47460e422ae64dbf2460d815461a9;hb=d23c030c9a8fd58807438245a004e4aa5b7288ba;hp=399b0b017f3582cb2ff34760e881a08b54eee21f;hpb=c6a508a3da977041909f18f77d6e8fea942512cf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp index 399b0b017..a7457f788 100644 --- a/src/modules/m_websocket.cpp +++ b/src/modules/m_websocket.cpp @@ -386,9 +386,9 @@ class ModuleWebSocket : public Module sha1 = &hash; } - void OnCleanup(int target_type, void* item) CXX11_OVERRIDE + void OnCleanup(ExtensionItem::ExtensibleType type, Extensible* item) CXX11_OVERRIDE { - if (target_type != TYPE_USER) + if (type != ExtensionItem::EXT_USER) return; LocalUser* user = IS_LOCAL(static_cast(item));