Skip to content

Commit

Permalink
IP pattern match bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalwk77 committed Jul 23, 2023
1 parent 3e901cf commit 29ec6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion INDEV/Admin Manager/commands/ip_admin_add.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function command:run(id, args)

else

local pattern = '(%d+).(%d+).(%d+).(%d+)'
local pattern = '(%d+%.%d+%.%d+%.%d+)'
local parsed = self:adminSyntaxParser(args)
local target
local player_id = parsed.id
Expand Down

0 comments on commit 29ec6fc

Please sign in to comment.