fixed typo

This commit is contained in:
orignal 2016-12-15 13:36:52 -05:00
parent 10d6cd9896
commit 0edc149ecc

View File

@ -818,7 +818,7 @@ namespace http {
url.parse_query(params);
std::string token = params["token"];
if (!token.empty () || m_Tokens.find (std::stoi (token)) == m_Tokens.end ())
if (token.empty () || m_Tokens.find (std::stoi (token)) == m_Tokens.end ())
{
ShowError(s, "Invalid token");
return;