Browse Source

* Revert invalid change to BIND_WANTS_CD flag check

Bryan Drewery 14 năm trước cách đây
mục cha
commit
b1be082803
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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->cflags & BIND_WANTS_CD) {
+	if (entry->flags & BIND_WANTS_CD) {
 		*al = entry->client_data;
 	}
 	else al++;