Fix sending server passwords with spaces in them

Fix #1928
Fix #1899
This commit is contained in:
Alexey Sokolov
2025-03-16 21:31:34 +00:00
parent 29104e81a2
commit ce47e7ea3d
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -1323,7 +1323,7 @@ void CIRCSock::Connected() {
PutIRC("CAP LS 302");
if (!sPass.empty()) {
PutIRC("PASS " + sPass);
PutIRC(CMessage(CNick(), "PASS", {sPass}));
}
PutIRC("NICK " + sNick);