Skip to content

Commit

Permalink
Bug invite msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrujillo02 committed Apr 25, 2024
1 parent b497f99 commit 089f297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/InviteCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void InviteCommand::execute(int clientFd) {
throw NoSuchNickException(this->_nickname);

if (!me.isOnChannel(this->_channelName))
throw NotOnChannelException(this->_channelName);
throw NoSuchChannelException(this->_channelName);

Channel &channel = server.getChannelByName(this->_channelName);

Expand Down

0 comments on commit 089f297

Please sign in to comment.