changeset 767:a2db884f2e4b

Plugin links: log only in case of 'ok', closes #918 @20m
author David Demelier <markand@malikania.fr>
date Tue, 23 Oct 2018 13:18:21 +0200
parents 80e2d5284b4a
children d8bf53170fb6
files plugins/links/links.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/links/links.cpp	Wed Sep 12 22:10:34 2018 +0200
+++ b/plugins/links/links.cpp	Tue Oct 23 13:18:21 2018 +0200
@@ -203,7 +203,7 @@
 
         if (level_ < 32U)
             run(++level_, timer_.get_io_service(), server_, origin_, channel_, location);
-    } else
+    } else if (res_.result() == status::ok)
         parse();
 }