1
0
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:
James Booth 2015-01-28 00:52:10 +00:00
parent 9800a46adb
commit 6529220351

View File

@ -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.");