mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Strip leading/trailing whitespace from result of eval_password
fixes #495
This commit is contained in:
parent
9800a46adb
commit
6529220351
@ -154,6 +154,7 @@ cmd_connect(gchar **args, struct cmd_help_t help)
|
||||
cons_show("Error evaluating password, see logs for details.");
|
||||
return TRUE;
|
||||
}
|
||||
g_strstrip(account->password);
|
||||
} else {
|
||||
log_error("popen failed when running eval_password.");
|
||||
cons_show("Error evaluating password, see logs for details.");
|
||||
|
Loading…
Reference in New Issue
Block a user