diff --git a/Server/Plugins/APIDump/main_APIDump.lua b/Server/Plugins/APIDump/main_APIDump.lua index 022fe9975c..2c88846e70 100644 --- a/Server/Plugins/APIDump/main_APIDump.lua +++ b/Server/Plugins/APIDump/main_APIDump.lua @@ -298,7 +298,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav) f:write(LinkifyString(a_Hook.Desc, HookName)); f:write("
\nThe default name for the callback function is "); f:write(a_Hook.DefaultFnName, ". It has the following signature:\n"); - f:write("
function ", HookName, "("); + f:write("function My", HookName, "("); if (a_Hook.Params == nil) then a_Hook.Params = {}; end