style(cmds): removing the debug msg in commands
This commit is contained in:
parent
5cd18d313e
commit
4c96c61df7
2 changed files with 2 additions and 8 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/06/08 22:10:24 by sben-tay #+# #+# */
|
||||
/* Updated: 2025/06/08 22:45:35 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/06/09 14:05:55 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -20,14 +20,11 @@ e_code Cap::checkArgs() {
|
|||
}
|
||||
|
||||
void cmd::Cap::execute() {
|
||||
DEBUG_MSG("coucou");
|
||||
if (this->checkArgs() != _PARSING_OK)
|
||||
return;
|
||||
DEBUG_MSG("coucou");
|
||||
if (_args.size() >= 2 && _args[1] == "LS") {
|
||||
std::string reply = "CAP * LS :\r\n";
|
||||
_sender->appendToWriteBuffer(reply);
|
||||
DEBUG_MSG("Replied to CAP LS");
|
||||
}
|
||||
DEBUG_MSG("coucou");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue