Fix up adding and printing notes
This commit is contained in:
@@ -243,10 +243,10 @@ function shared.Noter.Init()
|
||||
end
|
||||
if note == "delete" then
|
||||
DeleteNotes(name, args)
|
||||
elseif string.find(note, "%D+") then
|
||||
AddNote(name, sender, args)
|
||||
elseif string.find(note, "[%d%.]*") then
|
||||
elseif string.find(note, "^[%d%.]*$") then
|
||||
PrintNotes(name, args)
|
||||
else
|
||||
AddNote(name, sender, args)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user