return;
}
parameters[1] = (char*)temp.c_str();
+
+ if (temp == "")
+ {
+ WriteServ(user->fd,"412 %s No text to send", user->nick);
+ return;
+ }
ChanExceptSender(chan, user, "PRIVMSG %s :%s", chan->name, parameters[1]);
}
parameters[1] = (char*)temp.c_str();
+ if (temp == "")
+ {
+ WriteServ(user->fd,"412 %s No text to send", user->nick);
+ return;
+ }
+
ChanExceptSender(chan, user, "NOTICE %s :%s", chan->name, parameters[1]);
// if any users of this channel are on remote servers, broadcast the packet