From a917016a665324c5c17d122352c28bc05e4b277e Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Tue, 12 May 2020 11:44:05 +1000 Subject: [PATCH] fix type annotation in event.ignore --- lib/event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/event.lua b/lib/event.lua index cf099c4..95d548e 100644 --- a/lib/event.lua +++ b/lib/event.lua @@ -36,7 +36,7 @@ function event.listen(e,f) -- string function -- -- run function *f* for every o end end,string.format("[%d] %s listener",os.pid(),e)) end -function event.ignore(e,f) -- string function -- stop function *f* running for every occurance of event *e* +function event.ignore(e,f) -- string function -- -- stop function *f* running for every occurance of event *e* computer.pushSignal("unlisten",e,tostring(f)) end