From 13044f9c8d5757b6885d78cb5f7f37770e3750ab Mon Sep 17 00:00:00 2001 From: Michael Budde Date: Sat, 23 Feb 2019 14:36:43 +0100 Subject: Reject postings with comment after flag Fixes #1753 --- src/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/textual.cc b/src/textual.cc index 04e90e45..258e2560 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1440,7 +1440,7 @@ post_t * instance_t::parse_post(char * line, // Parse the account name - if (! *p) + if (! *p || *p == ';') throw parse_error(_("Posting has no account")); char * next = next_element(p, true); -- cgit v1.2.3