Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/eventType/receive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void receive(ENetEvent& event)
case 2: case 3:
{
std::string header{data.begin() + 4, data.end() - 1};
puts(header.c_str());
if (header.find("password") == std::string::npos && header.find("ltoken|") == std::string::npos) puts(header.c_str()); // @note never print logins, they contain passwords

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

respectfully this is useful for debugging so i will not merge this. thank you.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very true


std::ranges::replace(header, '\n', '|');
const std::vector<std::string> pipes = readch(header, '|');
Expand Down
Loading