Skip to content

Commit

Permalink
Removed an unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
kabachuha authored and irydacea committed Oct 15, 2020
1 parent 43817ec commit e75b862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/campaignd/server.cpp
Expand Up @@ -819,7 +819,7 @@ void server::handle_request_campaign(const server::request& req)
}
}

if(!failed && pack_data && !pack_data.empty()) {
if(!failed && !pack_data.empty()) {
std::ostringstream ostr;
write(ostr, pack_data);
std::string wml = ostr.str();
Expand Down

0 comments on commit e75b862

Please sign in to comment.