Browse Source

Tiny signalcall fix

TheSumm 6 years ago
parent
commit
cb7cea6809
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/corelib/util.lua

+ 1
- 1
modules/corelib/util.lua View File

@@ -313,7 +313,7 @@ function signalcall(param, ...)
313 313
         perror(ret)
314 314
       end
315 315
     end
316
-  elseif func ~= nil then
316
+  elseif param ~= nil then
317 317
     error('attempt to call a non function value')
318 318
   end
319 319
   return false

Loading…
Cancel
Save