fix(core/error_code): now commands use the correct error code

This commit is contained in:
Raphael 2025-06-05 22:56:28 +02:00
parent 8ea4da3b82
commit bc8410a21d
19 changed files with 81 additions and 77 deletions

View file

@ -18,5 +18,5 @@ 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();
virtual e_code checkArgs();
};