compile, need fixed registered for send code 001 welcome when USER NICK and PASS commands done.
This commit is contained in:
parent
c9c0cf314c
commit
479fc3c6c5
16 changed files with 68 additions and 51 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/09 14:05:55 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/06/12 13:06:50 by sben-tay ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -16,7 +16,13 @@
|
|||
using namespace cmd;
|
||||
|
||||
e_code Cap::checkArgs() {
|
||||
return _PARSING_OK;
|
||||
if (_args.size() < 2){
|
||||
return ERR_NEEDMOREPARAMS;
|
||||
|
||||
_sender->appendToReadBuffer(_command);
|
||||
|
||||
}
|
||||
return (_PARSING_OK);
|
||||
}
|
||||
|
||||
void cmd::Cap::execute() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue