ADD commands NICK, USER, PASS, CAP
This commit is contained in:
parent
8a77409158
commit
57aa57d9eb
14 changed files with 224 additions and 50 deletions
|
|
@ -3,10 +3,10 @@
|
|||
/* ::: :::::::: */
|
||||
/* ping.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/04 23:54:56 by rparodi ### ########.fr */
|
||||
/* Updated: 2025/06/08 20:13:52 by sben-tay ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -30,6 +30,7 @@ e_code Ping::checkArgs() {
|
|||
* @brief Execute the Ping
|
||||
* @note To send a private message to a user / a channel
|
||||
*/
|
||||
|
||||
void Ping::execute() {
|
||||
clock_t start = clock() / CLOCKS_PER_SEC;
|
||||
if (checkArgs() == _PARSING_OK) {
|
||||
|
|
@ -38,5 +39,4 @@ void Ping::execute() {
|
|||
}
|
||||
clock_t diff = Pong().answer(start);
|
||||
INFO_MSG(diff);
|
||||
// check how the com
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue