= Fixed conditional

This commit is contained in:
Matthew Cech
2019-04-20 23:42:25 -07:00
parent 3176a34048
commit 6d1b4aa9f3
+3 -1
View File
@@ -1,9 +1,11 @@
local time = os.time(); local time = os.time();
function plugin(message) function plugin(message)
if(message.match("purple"))then if(string.match(message, "purple"))then
local response = os.time() - time; local response = os.time() - time;
time = os.time(); time = os.time();
return response; return response;
end end
return nil; return nil;
end end