changeset 2149:42e8e44f5c40

[gaim-migrate @ 2159] whoops. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 20 Aug 2001 19:32:03 +0000
parents bf7e9e9580b9
children eb2cadb18479
files src/protocols/toc/toc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Fri Aug 17 17:55:18 2001 +0000
+++ b/src/protocols/toc/toc.c	Mon Aug 20 19:32:03 2001 +0000
@@ -898,7 +898,7 @@
 			return;
 		nm = gtk_entry_get_text(GTK_ENTRY(join_chat_entry));
 		exchange = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(join_chat_spin));
-		if (!name || !strlen(name))
+		if (!nm || !strlen(nm))
 			return;
 		g_snprintf(buf, sizeof(buf) / 2, "toc_chat_join %d \"%s\"", exchange, nm);
 	} else