From: Pekka Riikonen Date: Tue, 4 Jul 2000 07:11:04 +0000 (+0000) Subject: Added NO_SERVER_ID status messages. X-Git-Tag: SILC.0.1~529 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=fbb5b5cc3703d60fac1e5d4193cc40b756a936c0 Added NO_SERVER_ID status messages. --- diff --git a/lib/silccore/silccommand.h b/lib/silccore/silccommand.h index 80c7ece9..ae8615fb 100644 --- a/lib/silccore/silccommand.h +++ b/lib/silccore/silccommand.h @@ -109,30 +109,31 @@ typedef unsigned short SilcCommandStatus; #define SILC_STATUS_ERR_WILDCARDS 16 #define SILC_STATUS_ERR_NO_CLIENT_ID 17 #define SILC_STATUS_ERR_NO_CHANNEL_ID 18 -#define SILC_STATUS_ERR_BAD_CLIENT_ID 19 -#define SILC_STATUS_ERR_BAD_CHANNEL_ID 20 -#define SILC_STATUS_ERR_NO_SUCH_CLIENT_ID 21 -#define SILC_STATUS_ERR_NO_SUCH_CHANNEL_ID 22 -#define SILC_STATUS_ERR_NICKNAME_IN_USE 23 -#define SILC_STATUS_ERR_NOT_ON_CHANNEL 24 -#define SILC_STATUS_ERR_USER_ON_CHANNEL 25 -#define SILC_STATUS_ERR_NOT_REGISTERED 26 -#define SILC_STATUS_ERR_NOT_ENOUGH_PARAMS 27 -#define SILC_STATUS_ERR_TOO_MANY_PARAMS 28 -#define SILC_STATUS_ERR_PERM_DENIED 29 -#define SILC_STATUS_ERR_BANNED_FROM_SERVER 30 -#define SILC_STATUS_ERR_BAD_PASSWORD 31 -#define SILC_STATUS_ERR_CHANNEL_IS_FULL 32 -#define SILC_STATUS_ERR_NOT_INVITED 33 -#define SILC_STATUS_ERR_BANNED_FROM_CHANNEL 34 -#define SILC_STATUS_ERR_UNKNOWN_MODE 35 -#define SILC_STATUS_ERR_NOT_YOU 36 -#define SILC_STATUS_ERR_NO_CHANNEL_PRIV 37 -#define SILC_STATUS_ERR_NO_SERVER_PRIV 38 -#define SILC_STATUS_ERR_NO_ROUTER_PRIV 39 -#define SILC_STATUS_ERR_BAD_NICKNAME 40 -#define SILC_STATUS_ERR_BAD_CHANNEL 41 -#define SILC_STATUS_ERR_AUTH_FAILED 42 +#define SILC_STATUS_ERR_NO_SERVER_ID 19 +#define SILC_STATUS_ERR_BAD_CLIENT_ID 20 +#define SILC_STATUS_ERR_BAD_CHANNEL_ID 21 +#define SILC_STATUS_ERR_NO_SUCH_CLIENT_ID 22 +#define SILC_STATUS_ERR_NO_SUCH_CHANNEL_ID 23 +#define SILC_STATUS_ERR_NICKNAME_IN_USE 24 +#define SILC_STATUS_ERR_NOT_ON_CHANNEL 25 +#define SILC_STATUS_ERR_USER_ON_CHANNEL 26 +#define SILC_STATUS_ERR_NOT_REGISTERED 27 +#define SILC_STATUS_ERR_NOT_ENOUGH_PARAMS 28 +#define SILC_STATUS_ERR_TOO_MANY_PARAMS 29 +#define SILC_STATUS_ERR_PERM_DENIED 30 +#define SILC_STATUS_ERR_BANNED_FROM_SERVER 31 +#define SILC_STATUS_ERR_BAD_PASSWORD 32 +#define SILC_STATUS_ERR_CHANNEL_IS_FULL 33 +#define SILC_STATUS_ERR_NOT_INVITED 34 +#define SILC_STATUS_ERR_BANNED_FROM_CHANNEL 35 +#define SILC_STATUS_ERR_UNKNOWN_MODE 36 +#define SILC_STATUS_ERR_NOT_YOU 37 +#define SILC_STATUS_ERR_NO_CHANNEL_PRIV 38 +#define SILC_STATUS_ERR_NO_SERVER_PRIV 39 +#define SILC_STATUS_ERR_NO_ROUTER_PRIV 40 +#define SILC_STATUS_ERR_BAD_NICKNAME 41 +#define SILC_STATUS_ERR_BAD_CHANNEL 42 +#define SILC_STATUS_ERR_AUTH_FAILED 43 /* Prototypes */ SilcCommandPayload silc_command_parse_payload(SilcBuffer buffer);