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
|
|
@ -3,10 +3,10 @@
|
|||
/* ::: :::::::: */
|
||||
/* list.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */
|
||||
/* Updated: 2025/06/09 15:33:52 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/06/12 13:24:21 by sben-tay ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ e_code List::checkArgs() {
|
|||
* @note To list the channel
|
||||
*/
|
||||
void List::execute() {
|
||||
if (checkArgs() == _PARSING_OK) {
|
||||
if (checkArgs() != _PARSING_OK) {
|
||||
ERROR_MSG("Invalid arguments for LIST command (see warning message)");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue