forked from TeamUlysses/ulib
Fixed a crash exploit in console commands
This commit is contained in:
parent
7be994f805
commit
718877470d
@ -1306,7 +1306,9 @@ if SERVER then
|
||||
end
|
||||
|
||||
local function hookRoute( ply, command, argv )
|
||||
concommand.Run( ply, table.remove( argv, 1 ), argv )
|
||||
if table.Count(argv) > 0 then
|
||||
concommand.Run( ply, table.remove( argv, 1 ), argv )
|
||||
end
|
||||
end
|
||||
concommand.Add( "_u", hookRoute )
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user