= Fixed conditional
This commit is contained in:
1 parent
3176a34048
commit
6d1b4aa9f3
1 file changed
+3
-1
@@ -1,9 +1,11 @@
|
||||
local time = os.time();
|
||||
|
||||
function plugin(message)
|
||||
if(message.match("purple"))then
|
||||
if(string.match(message, "purple"))then
|
||||
local response = os.time() - time;
|
||||
time = os.time();
|
||||
return response;
|
||||
end
|
||||
|
||||
return nil;
|
||||
end
|
||||
Reference in new issue
Block a user