mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 20:56:21 +00:00
Debug room vars
This commit is contained in:
@@ -472,6 +472,17 @@ handle_room_configure(const char * const room, DataForm *form)
|
|||||||
} else {
|
} else {
|
||||||
cons_show("No form type specified");
|
cons_show("No form type specified");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GSList *fields = form->fields;
|
||||||
|
GSList *curr = fields;
|
||||||
|
while (curr != NULL) {
|
||||||
|
FormField *field = curr->data;
|
||||||
|
if (field->var != NULL) {
|
||||||
|
cons_show(" Field: %s", field->var);
|
||||||
|
}
|
||||||
|
|
||||||
|
curr = g_slist_next(curr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user