--- smsdaemon/Common.cpp 2008/12/23 12:09:08 216 +++ smsdaemon/Common.cpp 2008/12/23 14:20:43 217 @@ -142,39 +142,3 @@ return out.str(); } -void Common::LoadWorker(std::set& set, std::string config) -{ - set.clear(); - - std::vector items = Util::str_split( - _configFile->GetValue("smsdaemon",config,""), - ","); - - std::ostringstream log; - log << "Loaded list '" << config << "': "; - for (unsigned i=0; i::iterator it = _blacklist.find(phone); - return ( it != _blacklist.end() ); -} - -bool Common::IsPrivileged(const std::string& phone) -{ - std::set::iterator it = _privileged.find(phone); - return ( it != _privileged.end() ); -}