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

Method HostBanLoop

plugins/webadmin/loops.cpp:712–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712HostBanLoop::HostBanLoop(Templateiser& ts) {
713 ts.addLoop("HostBans", this);
714 ts.addKey("HostBanMask", this);
715 ts.addKey("HostBanReason", this);
716 ts.addKey("HostBanSource", this);
717 ts.addKey("HostBanDuration", this);
718 ts.addKey("HostBanID", this);
719 ts.addIF("HostBanIsForever", this);
720}
721
722void HostBanLoop::setSize(void) {
723 size = bz_getBanListSize(eHostList);

Callers

nothing calls this directly

Calls 3

addLoopMethod · 0.80
addKeyMethod · 0.80
addIFMethod · 0.80

Tested by

no test coverage detected