summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/require
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-06-21 10:10:35 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-06-21 10:10:35 -0400
commit63e7e0b35dff15a2e06b924945dbb09389723686 (patch)
tree537801f9815be9d173d91adbb1fdb65be9e9d0b5 /indra/newview/scripts/lua/require
parent5dbca6bb3ed33cb8f19ea3871ce7ef9f07957088 (diff)
Use util.classctor(LLChatListener).
Diffstat (limited to 'indra/newview/scripts/lua/require')
-rw-r--r--indra/newview/scripts/lua/require/LLChatListener.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/require/LLChatListener.lua b/indra/newview/scripts/lua/require/LLChatListener.lua
index b4e90d272c..428dca881e 100644
--- a/indra/newview/scripts/lua/require/LLChatListener.lua
+++ b/indra/newview/scripts/lua/require/LLChatListener.lua
@@ -1,6 +1,7 @@
local fiber = require 'fiber'
local inspect = require 'inspect'
local leap = require 'leap'
+local util = require 'util'
local LLChatListener = {}
local waitfor = {}
@@ -14,6 +15,8 @@ function LLChatListener:new()
return obj
end
+util.classctor(LLChatListener)
+
function LLChatListener:handleMessages(event_data)
print(inspect(event_data))
return true