Skip to content

Commit

Permalink
doc(join command): Deleted test cases comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jdomingu98 committed Apr 21, 2024
1 parent d957fc0 commit dd29c25
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/commands/JoinCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,6 @@ void JoinCommand::sendMessages(int clientFd, Channel &channel) const {
server.sendMessage(clientFd, RPL_END_OF_NAMES(nickname, username, hostname, channelName));
}

/** ----------------TESTING-------------
* JOIN (#/&)channel password -> joins channel with password if it's correct
* JOIN #c1,#c2 password -> password for c1, none for c2
* JOIN #c1,#c2 password, -> password for c1, none for c2 ???
* JOIN #c1,#c2 password1,password2 -> password1 for c1, password2 for c2
* JOIN #c1,#c2 ,password -> none for c1, password for c2??
* JOIN #c1,,#c2 password1,,password2 -> ignored "channel" between commas
* JOIN #c1,,#c2 password1,password2 -> idk what happens here ¿¿¿???
*/

/**
* Executes the command JOIN.
*
Expand Down

0 comments on commit dd29c25

Please sign in to comment.