Move ULib.refreshBans to a hook. Fixes #11.

This commit is contained in:
Nayruden 2016-02-06 13:46:40 -05:00
parent 7944886609
commit 7e7d3d7a9e
2 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ function ULib.refreshBans()
-- We're queueing this because it will split the load out for VERY large ban files
ULib.queueFunctionCall( function() ULib.fileWrite( ULib.BANS_FILE, ULib.makeKeyValues( ULib.bans ) ) end )
end
ULib.pcallError( ULib.refreshBans )
hook.Add( "Initialize", "ULibLoadBans", ULib.refreshBans, HOOK_MONITOR_HIGH )
--[[

View File

@ -1 +1 @@
1453758072
1454784400