even if the away status did not change.
if(source_p->user->away == NULL)
if(source_p->user->away == NULL)
+ if(strncmp(source_p->user->away, parv[1], AWAYLEN - 1))
+ {
rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
":%s AWAY :%s", use_id(source_p), source_p->user->away);
rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
":%s AWAY :%s", use_id(source_p), source_p->user->away);
-
- } else {
- rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
}
if(MyConnect(source_p))
}
if(MyConnect(source_p))