diff src/protocols/irc/irc.c @ 10009:c124bef68132

[gaim-migrate @ 10926] Thou shalt NULL terminate va_lists! This fixes the crash-at-startup bug I mentioned in my commit of Dave West's stuff last night. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 10 Sep 2004 19:51:52 +0000
parents 8ba9a9048d73
children 56e34a659db2
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Fri Sep 10 04:43:31 2004 +0000
+++ b/src/protocols/irc/irc.c	Fri Sep 10 19:51:52 2004 +0000
@@ -164,8 +164,7 @@
 
 	type = gaim_status_type_new_with_attrs(
 		GAIM_STATUS_AWAY, "away", _("Away"), TRUE, TRUE, FALSE,
-		"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING));
-
+		"message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), NULL);
 	types = g_list_append(types, type);
 
 	return types;