forked from TeamUlysses/ulx
Remote whitespace
This commit is contained in:
parent
630f936d18
commit
a8b31ffb3e
@ -221,7 +221,7 @@ function ulx.spectate( calling_ply, target_ply )
|
||||
|
||||
local pos = calling_ply:GetPos()
|
||||
local ang = calling_ply:GetAngles()
|
||||
|
||||
|
||||
local wasAlive = calling_ply:Alive()
|
||||
|
||||
local function stopSpectate( player )
|
||||
|
@ -179,9 +179,9 @@ end
|
||||
function xbans.RemoveBan( ID, bandata )
|
||||
local tempstr = "<Unknown>"
|
||||
if bandata then tempstr = bandata.name or "<Unknown>" end
|
||||
Derma_Query( "Are you sure you would like to unban " .. tempstr .. " - " .. ID .. "?", "XGUI WARNING",
|
||||
Derma_Query( "Are you sure you would like to unban " .. tempstr .. " - " .. ID .. "?", "XGUI WARNING",
|
||||
"Remove", function()
|
||||
RunConsoleCommand( "ulx", "unban", ID )
|
||||
RunConsoleCommand( "ulx", "unban", ID )
|
||||
xbans.RemoveBanDetailsWindow( ID )
|
||||
end,
|
||||
"Cancel", function() end )
|
||||
@ -365,7 +365,7 @@ function xgui.ShowBanWindow( ply, ID, doFreeze, isUpdate, bandata )
|
||||
end
|
||||
btime = banpanel:GetMinutes()
|
||||
if btime ~= 0 and bandata and btime * 60 + bandata.time < os.time() then
|
||||
Derma_Query( "WARNING! The new ban time you have specified will cause this ban to expire.\nThe minimum time required in order to change the ban length successfully is "
|
||||
Derma_Query( "WARNING! The new ban time you have specified will cause this ban to expire.\nThe minimum time required in order to change the ban length successfully is "
|
||||
.. xgui.ConvertTime( os.time() - bandata.time ) .. ".\nAre you sure you wish to continue?", "XGUI WARNING",
|
||||
"Expire Ban", function()
|
||||
performUpdate(btime)
|
||||
|
@ -266,7 +266,7 @@ adverts.nodedown.DoClick = function()
|
||||
end
|
||||
function adverts.removeAdvert( node )
|
||||
if node then
|
||||
Derma_Query( "Are you sure you want to delete this " .. ( node.data and "advert?" or "advert group?" ), "XGUI WARNING",
|
||||
Derma_Query( "Are you sure you want to delete this " .. ( node.data and "advert?" or "advert group?" ), "XGUI WARNING",
|
||||
"Delete", function()
|
||||
if node.data then --Remove a single advert
|
||||
RunConsoleCommand( "xgui", "removeAdvert", node.group, node.number, type( node.group ) )
|
||||
|
Loading…
Reference in New Issue
Block a user