docs(cmd/notice): correct the documentation of notice

This commit is contained in:
Raphael 2025-06-02 23:20:22 +02:00
parent 99619310db
commit a955a426ba

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/05/24 17:29:48 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 * @brief Execute the Notice command
* @note To send a private message to a user / a channel * @note To send a private message to a user / a channel (like privmsg but without error)
*/ */
void Notice::execute() { void Notice::execute() {
if (checkArgs() == false) { if (checkArgs() == false) {
ERROR_MSG("Invalid arguments for PRIVMSG command (see warning message)"); ERROR_MSG("Invalid arguments for NOTICE command (see warning message)");
return; return;
} }
// check how the com // check how the com