diff --git a/asyncoperations.lua b/asyncoperations.lua index 8edd916..f2dd79a 100644 --- a/asyncoperations.lua +++ b/asyncoperations.lua @@ -19,7 +19,7 @@ function meta:send(fmt, ...) end local function verify(str, errLevel) - if str:find("^:") or find("%s%z") then + if str:find("^:") or str:find("%s%z") then error(("malformed parameter '%s' to irc command"):format(str), errLevel) end