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 @@
|
|||
/* ::: :::::::: */
|
||||
/* invite.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/05 11:10:36 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/06/12 13:24:05 by sben-tay ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ e_code Invite::checkArgs() {
|
|||
* @note To invite a peapol to join a channel (from an operator)
|
||||
*/
|
||||
void Invite::execute() {
|
||||
if (checkArgs() == _PARSING_OK) {
|
||||
if (checkArgs() != _PARSING_OK) {
|
||||
ERROR_MSG("Invalid arguments for INVITE command (see warning message)");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue