Revert "Allow name@domain.tld for OpenAlias lookups"

This reverts commit b18368b635.
This commit is contained in:
warptangent
2015-05-19 01:51:15 -07:00
parent 2dc1cd9ae6
commit a0fe18f63a
2 changed files with 14 additions and 25 deletions
+1 -4
View File
@@ -112,14 +112,11 @@ private:
/**
* @brief Checks a string to see if it looks like a URL
*
* If the address looks good, but contains one @ symbol, replace that with a .
* e.g. donate@getmonero.org becomes donate.getmonero.org
*
* @param addr the string to be checked
*
* @return true if it looks enough like a URL, false if not
*/
bool check_address_syntax(std::string& addr);
bool check_address_syntax(const std::string& addr);
DNSResolverData *m_data;
}; // class DNSResolver