mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
add chat panel, send text messages, guard forbidden functions with an ifdef
This commit is contained in:
@@ -18,9 +18,8 @@ function connect(object, signalsAndSlots)
|
||||
object[signal] = slot
|
||||
elseif type(object[signal]) == 'function' then
|
||||
object[signal] = { object[signal], slot }
|
||||
elseif type(signal) == 'table' then
|
||||
table.insert(object[signal], slot)
|
||||
else
|
||||
elseif type(object[signal]) == 'table' then
|
||||
table.insert(object[signal], #object[signal]+1, slot)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user