execute function segfault fixed

This commit is contained in:
Samy BEN TAYEB 2025-06-19 11:44:32 +02:00
parent cc9fdebc07
commit c94837e9dc
2 changed files with 4 additions and 3 deletions

View file

@ -143,7 +143,8 @@ void cmd::dispatch(::User *user, Channel *channel, Server *server, std::string &
case 't':
if (command_name == "topic") {
Topic(user, channel, server, line).execute();
}
}
break;
case 'w':
if (command_name == "whois") {
Whois(user, channel, server, line).execute();