fix: trim func forget to return value

master
Riceball LEE 2022-08-28 09:04:50 +08:00
parent 8d49d2e788
commit 6fe7d86567
No known key found for this signature in database
GPG Key ID: 10F15E84852CB868
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ local function incValue(session, key)
end
local function trim(s)
string.gsub(s, "^%s*(.-)%s*$", "%1") --trim spaces
return string.gsub(s, "^%s*(.-)%s*$", "%1") --trim spaces
end
local function check(playerName, answer, quiz)