1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

use more standard replies when setting stamp

This commit is contained in:
Michael Vetter 2022-04-28 19:31:27 +02:00
parent 6c5d983f13
commit 0dd0193eba

View File

@ -9028,20 +9028,20 @@ cmd_stamp(ProfWin* window, const char* const command, gchar** args)
cons_show("The outgoing stamp is: %s", def);
free(def);
} else {
cons_show("No outgoing stamp.");
cons_show("The default outgoing stamp is used.");
}
def = prefs_get_string(PREF_INCOMING_STAMP);
if (def) {
cons_show("The incoming stamp is: %s", def);
free(def);
} else {
cons_show("No incoming stamp.");
cons_show("The default incoming stamp is used.");
}
return TRUE;
}
if (g_strv_length(args) == 1) {
cons_show("Wrong usage: need a parameter.");
cons_bad_cmd_usage(command);
return TRUE;
}