Commit 31da0979 authored by spr0cketeer's avatar spr0cketeer

Fix: Correct url event "action" option handling

Closes: #2370
parent de4fdf66
......@@ -131,7 +131,7 @@ int event_get_url(event_registration_t *er, config_options_t *options) {
} else if (strcmp(options->name, "password") == 0) {
password = options->value;
} else if (strcmp(options->name, "action") == 0) {
free(self->url);
free(self->action);
self->action = NULL;
if (options->value)
self->action = strdup(options->value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment