diff --git a/sources/commands/join.cpp b/sources/commands/join.cpp index 031e676..8935a74 100644 --- a/sources/commands/join.cpp +++ b/sources/commands/join.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */ -/* Updated: 2025/05/26 22:56:16 by rparodi ### ########.fr */ +/* Updated: 2025/06/02 22:42:17 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -44,6 +44,10 @@ bool Join::checkArgs() { return true; } +/** + * @brief Execute the join command + * @note To join a new channel + */ void Join::execute() { if (checkArgs() == false) { ERROR_MSG("Invalid arguments for Join command (see warning message)"); diff --git a/sources/commands/notice.cpp b/sources/commands/notice.cpp index 9985b3c..e54d10e 100644 --- a/sources/commands/notice.cpp +++ b/sources/commands/notice.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */ -/* Updated: 2025/06/02 01:18:05 by rparodi ### ########.fr */ +/* Updated: 2025/06/02 22:44:49 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -45,12 +45,12 @@ bool Notice::checkArgs() { } /** - * @brief Execute the PrivMsg command - * @note To send a private message to a user / a channel + * @brief Execute the Notice command + * @note To send a private message to a user / a channel (like privmsg but without error) */ void Notice::execute() { if (checkArgs() == false) { - ERROR_MSG("Invalid arguments for PRIVMSG command (see warning message)"); + ERROR_MSG("Invalid arguments for NOTICE command (see warning message)"); return; } // check how the com diff --git a/sources/commands/pass.cpp b/sources/commands/pass.cpp index ef799b2..3991e90 100644 --- a/sources/commands/pass.cpp +++ b/sources/commands/pass.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/24 17:29:48 by rparodi #+# #+# */ -/* Updated: 2025/05/29 12:41:39 by rparodi ### ########.fr */ +/* Updated: 2025/06/02 22:41:12 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -30,7 +30,7 @@ bool Pass::checkArgs() { /** * @brief Execute the Pass command - * @note To Pass a users to join a channel (from an operator) + * @note To connect a user with the password */ void Pass::execute() { if (checkArgs() == false) {