deletedeny.cc (240B)
1 #include "config" 2 3 void Config::deletedeny(unsigned index) { 4 if (index >= denylist.size()) 5 throw Error("Index out of range, cannot delete deny-from"); 6 denylist.erase(denylist.begin() + index, 7 denylist.begin() + index + 1); 8 } 9