]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_websocket.cpp
Merge tag 'v2.0.25' into master.
[user/henk/code/inspircd.git] / src / modules / m_websocket.cpp
index 399b0b017f3582cb2ff34760e881a08b54eee21f..a7457f7886f47460e422ae64dbf2460d815461a9 100644 (file)
@@ -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<User*>(item));