crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

deleteallow.cc (247B)


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