From 91533c0b9f4d437caded880aaf17f673ba7a7174 Mon Sep 17 00:00:00 2001 From: aortigos Date: Mon, 25 May 2026 09:26:03 +0200 Subject: [PATCH] visual fix --- cmds/privmsg.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmds/privmsg.cpp b/cmds/privmsg.cpp index bee0ba6..6dc5eb3 100644 --- a/cmds/privmsg.cpp +++ b/cmds/privmsg.cpp @@ -6,7 +6,7 @@ /* By: aortigos ::iterator it = clients_.begin(); it != clients_.end(); it++) { if (it->second.getNick() == channel) - { return (it->second.send(":" + client.getNick() + "!" + client.getUsername() + "@localhost PRIVMSG " + channel + " :" + message + "\r\n")); - } } - return (client.send(":" SERVER_NAME " 401 " + client.getNick() + " " + channel + " :No such nick\r\n")); + client.send(":" SERVER_NAME " 401 " + client.getNick() + " " + channel + " :No such nick\r\n"); } }