changeset 2766:0e082a9e4c32

[gaim-migrate @ 2779] eh committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 19 Nov 2001 13:50:34 +0000
parents dfd9705bc750
children e5e78d42e49e
files plugins/filectl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/filectl.c	Mon Nov 19 12:35:51 2001 +0000
+++ b/plugins/filectl.c	Mon Nov 19 13:50:34 2001 +0000
@@ -58,7 +58,7 @@
 			struct gaim_connection *gc = NULL;
 			GSList *c = connections;
 			arg1 = getarg(buffer, 1, 1);
-			while (c) {
+			while (arg1 && c) {
 				gc = c->data;
 				if (!strcmp(gc->username, arg1)) {
 					break;