From a955a426ba323b6f1cc9dcd9420e50772353fe9f Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 2 Jun 2025 23:20:22 +0200 Subject: [PATCH] docs(cmd/notice): correct the documentation of notice --- sources/commands/notice.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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