aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/relay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/relay.cpp b/src/relay.cpp
index 2eef657b..3724bde2 100644
--- a/src/relay.cpp
+++ b/src/relay.cpp
@@ -96,7 +96,7 @@ void relay::parse(const string& buffer, const string::size_type position,
{
Parts newPart = Part_None;
- if (cont = (iss >> word))
+ if (cont = ((iss >> word) != 0))
{
// A little hack for handling comments
if (inComment)