forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Kaostico/automatic-whitelist-subsystem
Add automatic whitelist refreshing subsystem
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SUBSYSTEM_DEF(whitelisting) | ||
name = "Auto-Whitelist" | ||
init_order = INIT_ORDER_WHITELIST | ||
runlevels = RUNLEVEL_SETUP | RUNLEVEL_LOBBY | RUNLEVEL_GAME | RUNLEVEL_POSTGAME | ||
wait = 5 MINUTES | ||
|
||
/datum/controller/subsystem/whitelisting/Initialize() | ||
return SS_INIT_SUCCESS | ||
|
||
/datum/controller/subsystem/whitelisting/fire(resumed = FALSE) | ||
load_whitelist() // yep that's it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Title: Administration | ||
|
||
MODULE ID: ADMINISTRATION | ||
|
||
### Description: | ||
|
||
This module contains everything related to administration, as well as serving as a place to add more to it. | ||
|
||
### TG Proc Changes: | ||
|
||
N/A | ||
|
||
### Defines: | ||
|
||
- `code\__DEFINES\subsystems.dm` subsystem's define | ||
|
||
### Master file additions | ||
|
||
N/A | ||
|
||
### Included files that are not contained in this module: | ||
|
||
N/A | ||
|
||
### Credits: | ||
|
||
Ephemeralis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters