1
0
Эх сурвалжийг харах

Merge branch 'maint'

* maint:
  * Fix bind_entry_exec() checking the wrong field for BIND_WANTS_CD
Bryan Drewery 14 жил өмнө
parent
commit
318c66ffd2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/binds.c

+ 1 - 1
src/binds.c

@@ -281,7 +281,7 @@ static int bind_entry_exec(bind_table_t *table, bind_entry_t *entry, void **al)
 	entry->nhits++;
 
 	/* Does the callback want client data? */
-	if (entry->flags & BIND_WANTS_CD) {
+	if (entry->cflags & BIND_WANTS_CD) {
 		*al = entry->client_data;
 	}
 	else al++;