Skip to content

Commit

Permalink
fix(privmsg): send NoSuchChannel when found
Browse files Browse the repository at this point in the history
  • Loading branch information
jdomingu98 committed Apr 28, 2024
1 parent 21fe34e commit 9270935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/PrivateMessageCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ void PrivateMessageCommand::execute(int clientFd) {
}
} catch (const NoSuchChannelException &e) {
Logger::debug("Channel " + this->_receivers[i] + " does not exist.");
server.sendExceptionMessage(clientFd, e);
} catch (const NoSuchNickException &e) {
server.sendExceptionMessage(clientFd, e);
}
Expand Down

0 comments on commit 9270935

Please sign in to comment.