KwHook.DisableOrig

This function only works in combination with a function override created with kwHook.Create.

It disables the original function for one function call.

Arguments

 * funcName
 * string - The name of the function.

Returns

 * nil
 * void - A method call without return value.

Example
local function newChatFrame_OnEvent(...) if indicatotor_variable_to_hide_chat_messages == true then kwHook.DisableOrig("ChatFrame_OnEvent") end end

kwHook.Create("Example","ChatFrame_OnEvent",newChatFrame_OnEvent)