MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / IPBanLoop

Method IPBanLoop

plugins/webadmin/loops.cpp:624–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622//-------------------------IPBanLoop
623
624IPBanLoop::IPBanLoop(Templateiser& ts) {
625 ts.addLoop("IPBans", this);
626 ts.addKey("IPBanMask", this);
627 ts.addKey("IPBanReason", this);
628 ts.addKey("IPBanSource", this);
629 ts.addKey("IPBanDuration", this);
630 ts.addKey("IPBanID", this);
631 ts.addIF("IPBanFromMaster", this);
632 ts.addIF("IPBanIsForever", this);
633
634 filterMasterBans = false;
635}
636
637IPBanLoop::~IPBanLoop() {
638 removeNewPageCallback(this);

Callers

nothing calls this directly

Calls 3

addLoopMethod · 0.80
addKeyMethod · 0.80
addIFMethod · 0.80

Tested by

no test coverage detected