return;
}
- if (!Utils::valid_nickname_p(nick)) {
+ if (!Utils::valid_nickname_p (cnx->bot, nick)) {
from->sendNotice(String("\002") + nick +
" is not a valid nickname\002");
return;
String channel, String rest)
{
Message m = Commands::SetVersion(cnx->bot, rest);
+
if (m.getCode() < 0)
- from->sendNotice(m.getMessage());
+ {
+ Commands::Notice (cnx->bot, from->getNick (), m.getMessage());
+ }
}
void