projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[silc.git]
/
lib
/
silccore
/
silcstatus.h
diff --git
a/lib/silccore/silcstatus.h
b/lib/silccore/silcstatus.h
index dea64e94184d3e8d5a9555cc4976a2e781fd4b42..f619ea9ed5964cb54983d9f5c3658833e92d9f91 100644
(file)
--- a/
lib/silccore/silcstatus.h
+++ b/
lib/silccore/silcstatus.h
@@
-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 */