OnEmbeddedWebRequest(...) Not executing #194

Closed
opened 2026-10-05 04:03:37 +02:00 by adam · 5 comments
Owner

Modules like Stickychan doesn't show up in the channel settings.
I did some tests and figured that OnEmbeddedWebRequest doesn't run when opening channel settings page.

Modules like Stickychan doesn't show up in the channel settings. I did some tests and figured that OnEmbeddedWebRequest doesn't run when opening channel settings page. <!-- github-sync-id:10184917 -->
adam closed this issue 2026-10-05 04:03:37 +02:00
Author
Owner

Just ran another test. OnEmbeddedWebRequest works fine in other modules.
The problem is in Stickychan modules.

Just ran another test. OnEmbeddedWebRequest works fine in other modules. The problem is in Stickychan modules. <!-- github-comment-id:12536716 -->
Author
Owner

Uhm, right... It's called only for user and global modules, but not for network modules...
That part of webadmin was forgotten to update with introduction of networks.

Uhm, right... It's called only for user and global modules, but not for network modules... That part of webadmin was forgotten to update with introduction of networks. <!-- github-comment-id:12536817 -->
Author
Owner

The following if command should turn true when opening the channel settings page, but its not!
if ((*i)->OnEmbeddedWebRequest(WebSock, "webadmin/channel", mod))

The following if command should turn true when opening the channel settings page, but its not! if ((*i)->OnEmbeddedWebRequest(WebSock, "webadmin/channel", mod)) <!-- github-comment-id:12557937 -->
Author
Owner

Fixed in 46b28559fc

Fixed in 46b28559fc91a79d0c82600fb87c423b2e945f84 <!-- github-comment-id:18118659 -->
Author
Owner

Awesome work @DarthGandalf

Awesome work @DarthGandalf <!-- github-comment-id:18194779 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#194