X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fmessages.h;h=1f18215db70e5b0085984012365d01403e4f18b8;hp=f3a0ba442ac97ee82dd950607259b71302b5e526;hb=4da04640e6429e6cc61ca9dd4c7293b520d4b3bc;hpb=61b7932e82383f03cf751ff246c0610ce30dfd20 diff --git a/src/ngircd/messages.h b/src/ngircd/messages.h index f3a0ba44..1f18215d 100644 --- a/src/ngircd/messages.h +++ b/src/ngircd/messages.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors. + * Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -71,14 +71,15 @@ #define RPL_LISTEND_MSG "323 %s :End of LIST" #define RPL_CHANNELMODEIS_MSG "324 %s %s +%s" #define RPL_CREATIONTIME_MSG "329 %s %s %ld" +#define RPL_WHOISLOGGEDIN_MSG "330 %s %s %s :is logged in as" #define RPL_NOTOPIC_MSG "331 %s %s :No topic is set" #define RPL_TOPIC_MSG "332 %s %s :%s" #define RPL_TOPICSETBY_MSG "333 %s %s %s %u" -#define RPL_WHOISBOT_MSG "335 %s %s :is a IRC Bot" +#define RPL_WHOISBOT_MSG "335 %s %s :is an IRC Bot" #define RPL_INVITING_MSG "341 %s %s %s%s" -#define RPL_INVITELIST_MSG "346 %s %s %s" +#define RPL_INVITELIST_MSG "346 %s %s %s %s %d" #define RPL_ENDOFINVITELIST_MSG "347 %s %s :End of channel invite list" -#define RPL_EXCEPTLIST_MSG "348 %s %s %s" +#define RPL_EXCEPTLIST_MSG "348 %s %s %s %s %d" #define RPL_ENDOFEXCEPTLIST_MSG "349 %s %s :End of channel exception list" #define RPL_VERSION_MSG "351 %s %s-%s.%s %s :%s" #define RPL_WHOREPLY_MSG "352 %s %s %s %s %s %s %s :%d %s" @@ -86,7 +87,7 @@ #define RPL_LINKS_MSG "364 %s %s %s :%d %s" #define RPL_ENDOFLINKS_MSG "365 %s %s :End of LINKS list" #define RPL_ENDOFNAMES_MSG "366 %s %s :End of NAMES list" -#define RPL_BANLIST_MSG "367 %s %s %s" +#define RPL_BANLIST_MSG "367 %s %s %s %s %d" #define RPL_ENDOFBANLIST_MSG "368 %s %s :End of channel ban list" #define RPL_ENDOFWHOWAS_MSG "369 %s %s :End of WHOWAS list" #define RPL_INFO_MSG "371 %s :%s" @@ -140,7 +141,7 @@ #define ERR_BADCHANNELKEY_MSG "475 %s %s :Cannot join channel (+k) -- Wrong channel key" #define ERR_NOCHANMODES_MSG "477 %s %s :Channel doesn't support modes" #define ERR_NEEDREGGEDNICK_MSG "477 %s %s :Cannot send to channel (+M) -- You need to be identified to a registered account to message this channel" -#define ERR_LISTFULL_MSG "478 %s %s %s: Channel list is full (%d)" +#define ERR_LISTFULL_MSG "478 %s %s %s :Channel list is full (%d)" #define ERR_NOPRIVILEGES_MSG "481 %s :Permission denied" #define ERR_CHANOPRIVSNEEDED_MSG "482 %s %s :You are not channel operator" #define ERR_CHANOPPRIVTOOLOW_MSG "482 %s %s :Your privileges are too low" @@ -155,6 +156,7 @@ #define ERR_UMODEUNKNOWNFLAG_MSG "501 %s :Unknown mode" #define ERR_UMODEUNKNOWNFLAG2_MSG "501 %s :Unknown mode \"%c%c\"" #define ERR_USERSDONTMATCH_MSG "502 %s :Can't set/get mode for other users" +#define ERR_USERNOTONSERV_MSG "504 %s %s :User is not on this server" #define ERR_NOINVITE_MSG "518 %s :Cannot invite to %s (+V)" #ifdef ZLIB