Package: xchat
Version: 2.4.3-0.2
Severity: normal
Tags: patch

lasttalk is not (re-)set when someone performs an ACTION (/me). This is
bad behaviour, mainly if you consider the patch attached to bug #272234.

The attached patch makes xchat also set lasttalk on inbound_action.

See ya,

-- 
Guilherme de S. Pastore (fatalerror)
<[EMAIL PROTECTED]>
--- src/common/inbound.c	2005-02-06 01:46:02.000000000 -0200
+++ src/common/inbound.c.new	2005-08-06 12:36:52.518909568 -0300
@@ -284,6 +284,7 @@
 	server *serv = sess->server;
 	int beep = FALSE;
 	int hilight = FALSE;
+	struct User *user;
 
 	if (!fromme)
 	{
@@ -319,6 +320,9 @@
 		}
 	}
 
+	if (user = find_name (sess, from))
+		user->lasttalk = time (0);
+
 	if (!fromme)
 	{
 		hilight = is_hilight (text, sess, serv);

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to