diff options
Diffstat (limited to 'modules/websocket.cpp')
| -rw-r--r-- | modules/websocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/websocket.cpp b/modules/websocket.cpp index bfec7673d..68cf0fb09 100644 --- a/modules/websocket.cpp +++ b/modules/websocket.cpp @@ -753,7 +753,7 @@ public: if (type != ExtensionType::USER) return; - auto* user = IS_LOCAL(static_cast<User*>(item)); + auto* user = static_cast<User*>(item)->AsLocal(); if (!user || !user->io->GetModHook(this)) return; |
