Commits

Anonymous committed a743d12

Propagate changed away messages to other servers,
even if the away status did not change.

Comments (0)

Files changed (1)

 		return 0;
 	}
 
-
 	if(source_p->user->away == NULL)
+		allocate_away(source_p);
+	if(strncmp(source_p->user->away, parv[1], AWAYLEN - 1))
 	{
-		allocate_away(source_p);
 		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))