summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-07-12 01:33:35 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-07-12 01:33:35 +0100
commite0fb3d537d86001a8ccc5cc1c90a0ecc4f6a8d92 (patch)
treea6516c8b421a52b6bcdb6998cf4b4546bb0bcb66 /src/common/text.c
parent5e240eb259c473dd5ef25a5d11ef5ad574470f3a (diff)
Added hexchat_emit_print_attrs() to plugin interface.
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/text.c b/src/common/text.c
index 94744e86..2f4323a2 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -2164,14 +2164,15 @@ text_find_format_string (char *name)
 }
 
 int
-text_emit_by_name (char *name, session *sess, char *a, char *b, char *c, char *d)
+text_emit_by_name (char *name, session *sess, time_t timestamp,
+				   char *a, char *b, char *c, char *d)
 {
 	int i = 0;
 
 	i = pevent_find (name, &i);
 	if (i >= 0)
 	{
-		text_emit (i, sess, a, b, c, d, 0);
+		text_emit (i, sess, a, b, c, d, timestamp);
 		return 1;
 	}