summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textual.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/textual.cc b/src/textual.cc
index f6cbf070..739b63f0 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1565,9 +1565,12 @@ bool instance_t::parse_posts(account_t * account,
std::streamsize len = read_line(line);
assert(len > 0);
- if (post_t * post = parse_post(line, len, account, NULL, defer_expr)) {
- xact.add_post(post);
- added = true;
+ char * p = skip_ws(line);
+ if (*p != ';') {
+ if (post_t * post = parse_post(line, len, account, NULL, defer_expr)) {
+ xact.add_post(post);
+ added = true;
+ }
}
}