From 674367464610b99cc48628cd02bdda25544263a1 Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Thu, 23 Sep 2010 04:41:35 +0000 Subject: [PATCH] Fix bug introduced in r2133: modperl made znc crash when using web. Adding new hooks to modules is the following procedure: 1. Add it to modperl/module.h 2. Add it to modperl/startup.pl 3. Add it to modperl/functions.in 4. Run ./codegen.pl git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2140 726aef4b-f618-498e-8847-2d620e286838 --- modules/modperl/startup.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/modperl/startup.pl b/modules/modperl/startup.pl index df68d502..f4bf8fd9 100644 --- a/modules/modperl/startup.pl +++ b/modules/modperl/startup.pl @@ -293,6 +293,7 @@ sub OnTopic {} sub OnServerCapAvailable {} sub OnServerCapResult {} sub OnTimerAutoJoin {} +sub OnEmbeddedWebRequest {} # Functions of CModule will be usable from perl modules.