From 48821409a1c387190389b6ca13deff8856343983 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 2 Jun 2025 00:36:36 +0200 Subject: [PATCH] fix(commands/ACommand): add the forgotten constructor --- include/commands/invite.hpp | 3 ++- include/commands/join.hpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/commands/invite.hpp b/include/commands/invite.hpp index 11973ed..be4ece6 100644 --- a/include/commands/invite.hpp +++ b/include/commands/invite.hpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/24 17:17:31 by rparodi #+# #+# */ -/* Updated: 2025/05/26 16:27:42 by rparodi ### ########.fr */ +/* Updated: 2025/06/02 00:34:16 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,6 +16,7 @@ class cmd::Invite : public ACommand { public: + Invite(User *user, Channel *channel, Server *server, const std::string &line) : ACommand(user, channel, server, line) {} virtual void execute(void); virtual bool checkArgs(); }; diff --git a/include/commands/join.hpp b/include/commands/join.hpp index 135d235..ce8d1f5 100644 --- a/include/commands/join.hpp +++ b/include/commands/join.hpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/24 17:17:31 by rparodi #+# #+# */ -/* Updated: 2025/05/26 22:43:47 by rparodi ### ########.fr */ +/* Updated: 2025/06/02 00:33:23 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,6 +16,7 @@ class cmd::Join : public ACommand { public: + Join(User *user, Channel *channel, Server *server, const std::string &line) : ACommand(user, channel, server, line) {} virtual void execute(void); virtual bool checkArgs(); };