| 763 | } |
| 764 | |
| 765 | IDBanLoop::IDBanLoop(Templateiser& ts) { |
| 766 | ts.addLoop("IDBans", this); |
| 767 | ts.addKey("IDBanMask", this); |
| 768 | ts.addKey("IDBanReason", this); |
| 769 | ts.addKey("IDBanSource", this); |
| 770 | ts.addKey("IDBanDuration", this); |
| 771 | ts.addKey("IDBanID", this); |
| 772 | ts.addIF("IDBanIsForever", this); |
| 773 | } |
| 774 | |
| 775 | void IDBanLoop::setSize(void) { |
| 776 | size = bz_getBanListSize(eIDList); |