Skip to content

Commit 810ecd0

Browse files
committed
Fix incorrect use of coxpcall
require "coxpcall" returns a table
1 parent de611a0 commit 810ecd0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wsapi/xavante.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
--
77
-----------------------------------------------------------------------------
88

9-
require "coxpcall"
9+
local coxpcall = require "coxpcall"
1010

11-
pcall = copcall
12-
xpcall = coxpcall
11+
pcall = coxpcall.pcall
12+
xpcall = coxpcall.xpcall
1313

1414
local common = require"wsapi.common"
1515

0 commit comments

Comments
 (0)