mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Warn if we see a BANNER command when the banner has already been issued.
This commit is contained in:
@@ -1486,6 +1486,10 @@ static int DoBanner(ParsePtr p)
|
||||
}
|
||||
if (!c) return E_EOLN;
|
||||
|
||||
if (DidMsgReminder) {
|
||||
Wprint(tr("Banner has already been issued; this BANNER command will have no effect"));
|
||||
}
|
||||
|
||||
while(c) {
|
||||
if (DBufPutc(&buf, c) != OK) return E_NO_MEM;
|
||||
c = ParseChar(p, &err, 0);
|
||||
|
||||
Reference in New Issue
Block a user