--- a/src/prefs.c Tue Jun 01 01:39:18 2004 +0000 +++ b/src/prefs.c Tue Jun 01 01:43:38 2004 +0000 @@ -649,11 +649,12 @@ guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback func, gpointer data) { - struct gaim_pref *pref = find_pref(name); + struct gaim_pref *pref; struct pref_cb *cb; static guint cb_id = 0; - if(!pref) + pref = find_pref(name); + if (pref == NULL) return 0; cb = g_new0(struct pref_cb, 1);