mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-10 10:00:28 +01:00
Changing verify error message
This commit is contained in:
parent
9c5a2c82e7
commit
b53cd265ae
@ -20,7 +20,7 @@ end
|
|||||||
|
|
||||||
local function verify(str, errLevel)
|
local function verify(str, errLevel)
|
||||||
if str:find("^:") or find("%s%z") then
|
if str:find("^:") or find("%s%z") then
|
||||||
error(("bad characters in '%s'"):format(str), errLevel)
|
error(("malformed parameter '%s' to irc command"):format(str), errLevel)
|
||||||
end
|
end
|
||||||
|
|
||||||
return str
|
return str
|
||||||
|
Loading…
Reference in New Issue
Block a user