diff --git a/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java b/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java
index a70188b742865eeef7f2543572790bd609e8696f..2d04fa693b02908b6f8e0668a91217442f6fa6a8 100644
--- a/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java
+++ b/core/java/src/net/i2p/data/i2cp/MessagePayloadMessage.java
@@ -125,7 +125,7 @@ public class MessagePayloadMessage extends I2CPMessageImpl {
      */
     @Override
     public synchronized void writeMessage(OutputStream out) throws I2CPMessageException, IOException {
-        if (_sessionId <= 0)
+        if (_sessionId < 0)
             throw new I2CPMessageException("Unable to write out the message, as the session ID has not been defined");
         if (_messageId < 0)
             throw new I2CPMessageException("Unable to write out the message, as the message ID has not been defined");