diff --git a/modules/phone/okokPhone/server.lua b/modules/phone/okokPhone/server.lua index 1ec524d..30d4250 100644 --- a/modules/phone/okokPhone/server.lua +++ b/modules/phone/okokPhone/server.lua @@ -54,7 +54,7 @@ Phone.SendEmail = function(src, email, title, message) end --<-- TODO swap to internal callback system -lib.callback.registry('community_bridge:Callback:okokPhone:sendEmail', function(src, email, title, message) +lib.callback.register('community_bridge:Callback:okokPhone:sendEmail', function(src, email, title, message) return Phone.SendEmail(src, email, title, message) end)