• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

As designed [dev] Code Event Listener function only checked at creation, not when modification

Marcus

Well-known member
#1
When I create a new code event listener, it checks if the function exists in the listener. However when I rename the function and update the listener with the old function name, it saves without throwing an error.
 

Mike

XenForo developer
Staff member
#2
In general, this is intentional and changing the behavior runs the risk of breaking other things. In the vast majority of situations, we only validate fields when you change them. Since you're not changing the callbacks, we assume that they're still working.