diff src/protocols/irc/irc.c @ 2856:b1e300a85678

[gaim-migrate @ 2869] rewrote the html parser in gtkimhtml. yes, that's really all i did. the reason for the massive change is because i added a length argument, which then needed to be propogated down to everything that would ever receive anything that would get drawn to the window. the new parser isn't any faster. that wasn't my goal. it's much more understandable now (hopefully, anyway). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 08 Dec 2001 09:48:52 +0000
parents e49bd1479edd
children 152d726312b2
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Sat Dec 08 08:46:00 2001 +0000
+++ b/src/protocols/irc/irc.c	Sat Dec 08 09:48:52 2001 +0000
@@ -322,7 +322,7 @@
 static void irc_got_im(struct gaim_connection *gc, char *who, char *what, int flags, time_t t)
 {
 	GString *str = decode_html(what);
-	serv_got_im(gc, who, str->str, flags, t);
+	serv_got_im(gc, who, str->str, flags, t, -1);
 	g_string_free(str, TRUE);
 }
 
@@ -428,7 +428,7 @@
 		chat_set_topic(c, NULL, po);
 		g_snprintf(buf, sizeof(buf), _("<B>%s has changed the topic to: %s</B>"),
 				text, po);
-		write_to_conv(c, buf, WFLAG_SYSTEM, NULL, time(NULL));
+		write_to_conv(c, buf, WFLAG_SYSTEM, NULL, time(NULL), -1);
 	}
 }
 
@@ -961,7 +961,7 @@
 			chat_set_topic(c, nick, topic);
 			g_snprintf(buf, sizeof(buf), _("<B>%s has changed the topic to: %s</B>"),
 					nick, topic);
-			write_to_conv(c, buf, WFLAG_SYSTEM, NULL, time(NULL));
+			write_to_conv(c, buf, WFLAG_SYSTEM, NULL, time(NULL), -1);
 		}
 	} else if (!strcmp(cmd, "WALLOPS")) { /* */
 	}
@@ -1377,7 +1377,7 @@
 				 "JOIN PART TOPIC KICK<BR>"
 				 "OP DEOP VOICE DEVOICE<BR>"
 				 "ME MSG QUOTE SAY</B>",
-				 WFLAG_NOLOG, NULL, time(NULL));
+				 WFLAG_NOLOG, NULL, time(NULL), -1);
 	} else {
 		struct conversation *c = NULL;
 		if (is_channel(gc, who)) {
@@ -1387,7 +1387,7 @@
 		}
 		if (!c)
 			return -EINVAL;
-		write_to_conv(c, "<B>Unknown command</B>", WFLAG_NOLOG, NULL, time(NULL));
+		write_to_conv(c, "<B>Unknown command</B>", WFLAG_NOLOG, NULL, time(NULL), -1);
 	}
 
 	return 0;