Skip to content

Commit

Permalink
Trim at signs from user names
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Dec 5, 2024
1 parent 84ca59d commit d90632c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/http/chan_form.pike
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ constant vars_provided = ([
__async__ mapping message_params(object channel, mapping person, array param, mapping cfg) {
if (cfg->simulate) {cfg->simulate("Send form"); return ([]);}
string formid = param[0];
mapping user = await(get_user_info(param[1], "login"));
mapping user = await(get_user_info(param[1] - "@", "login"));
string nonce;
mapping form_data = await(G->G->DB->load_config(channel->userid, "forms"))->forms[formid];
await(G->G->DB->mutate_config(channel->userid, "formresponses") {mapping resp = __ARGS__[0];
Expand Down

0 comments on commit d90632c

Please sign in to comment.