lol patterns

master
q3k 2018-09-29 18:25:53 +02:00
parent 72fffac07d
commit 95d1bf7084
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ end
function plugin.AddRuntimeCommands()
local function PluginLoad(Username, Channel, Name)
if not Name:match('([a-zA-Z0-9%-_]+)') then
if not Name:match('^([a-zA-Z0-9%-_]+)$') then
Channel:Say("Invalid plugin name!")
return
end