fix(cmd): now fixing the infinte loop on invalid message

This commit is contained in:
Raphael 2025-06-03 16:58:14 +02:00
parent a955a426ba
commit 97103ac852
4 changed files with 22 additions and 6 deletions

View file

@ -6,7 +6,7 @@
# By: omoudni <omoudni@student.42paris.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2025/05/02 15:40:00 by rparodi #+# #+# #
# Updated: 2025/06/02 01:18:57 by rparodi ### ########.fr #
# Updated: 2025/06/03 16:50:01 by rparodi ### ########.fr #
# #
#******************************************************************************#
@ -32,6 +32,8 @@ SRC = sources/channel/channel.cpp \
sources/commands/notice.cpp \
sources/commands/part.cpp \
sources/commands/pass.cpp \
sources/commands/ping.cpp \
sources/commands/pong.cpp \
sources/commands/privmsg.cpp \
sources/core/PollManager.cpp \
sources/core/Server.cpp \
@ -80,7 +82,7 @@ re: header fclean all
$(NAME): $(OBJ)
@mkdir -p $(OBJDIRNAME)
@printf '$(GREY) Creating $(END)$(GREEN)$(OBJDIRNAME)$(END)\n'
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $(NAME) $(OBJ) -fuse-ld=lld
@$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $(NAME) $(OBJ) #-fuse-ld=lld
# Creating the objects
$(OBJDIRNAME)/%.o: %.cpp