updates.
[silc.git] / lib / silccore / silcstatus.h
index dea64e94184d3e8d5a9555cc4976a2e781fd4b42..f619ea9ed5964cb54983d9f5c3658833e92d9f91 100644 (file)
@@ -101,4 +101,6 @@ typedef SilcUInt8 SilcStatus;
 #define SILC_STATUS_ERR_BAD_VERSION         53
 /***/
 
+#define SILC_STATUS_IS_ERROR(status) (status >= SILC_STATUS_ERR_NO_SUCH_NICK)
+
 #endif /* SILCSTATUS_H */