fix(cmd/pass): now pass is working with irssi
This commit is contained in:
parent
b1533bb77b
commit
b5172e3ba8
1 changed files with 1 additions and 6 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
|
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */
|
/* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */
|
||||||
/* Updated: 2025/06/08 20:10:47 by sben-tay ### ########.fr */
|
/* Updated: 2025/06/10 16:27:03 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -21,11 +21,6 @@ e_code Pass::checkArgs() {
|
||||||
WARNING_MSG("Not correct for Pass command");
|
WARNING_MSG("Not correct for Pass command");
|
||||||
return ERR_NEEDMOREPARAMS;
|
return ERR_NEEDMOREPARAMS;
|
||||||
}
|
}
|
||||||
DEBUG_MSG("coucou");
|
|
||||||
if (_sender->isRegistered()) {
|
|
||||||
WARNING_MSG(_sender->getName() << " is already is already log in the server !");
|
|
||||||
return ERR_ALREADYREGISTERED;
|
|
||||||
}
|
|
||||||
return _PARSING_OK;
|
return _PARSING_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue