ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/numeric.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/numeric.c (file contents):
Revision 6570 by michael, Tue Oct 13 17:58:46 2015 UTC vs.
Revision 9772 by michael, Thu Dec 3 15:06:42 2020 UTC

# Line 1 | Line 1
1   /*
2   *  ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3   *
4 < *  Copyright (c) 1997-2015 ircd-hybrid development team
4 > *  Copyright (c) 1997-2020 ircd-hybrid development team
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 30 | Line 30
30  
31   static const char *const replies[] =
32   {
33 <  /* 001 */  [RPL_WELCOME] = ":Welcome to the %s Internet Relay Chat Network %s",
33 >  /* 001 */  [RPL_WELCOME] = ":Welcome to the %s Internet Relay Chat Network %s!%s@%s",
34    /* 002 */  [RPL_YOURHOST] = ":Your host is %s, running version %s",
35    /* 003 */  [RPL_CREATED] = ":This server was created %s",
36 <  /* 004 */  [RPL_MYINFO] = "%s %s %s bchiklmnoprstveCIMORS bkloveIh",
36 >  /* 004 */  [RPL_MYINFO] = "%s %s %s bchiklmnoprstuveCIKLMNORST bkloveIh",
37    /* 005 */  [RPL_ISUPPORT] = "%s :are supported by this server",
38    /* 010 */  [RPL_REDIR] = "%s %u :Please use this Server/Port instead",
39    /* 015 */  [RPL_MAP] = ":%s%s",
# Line 42 | Line 42 | static const char *const replies[] =
42    /* 200 */  [RPL_TRACELINK] = "Link %s %s %s",
43    /* 201 */  [RPL_TRACECONNECTING] = "Try. %s %s",
44    /* 202 */  [RPL_TRACEHANDSHAKE] = "H.S. %s %s",
45 <  /* 203 */  [RPL_TRACEUNKNOWN] = "???? %s %s (%s) %d",
46 <  /* 204 */  [RPL_TRACEOPERATOR] = "Oper %s %s (%s) %lu %u",
47 <  /* 205 */  [RPL_TRACEUSER] = "User %s %s (%s) %lu %u",
48 <  /* 206 */  [RPL_TRACESERVER] = "Serv %s %uS %uC %s %s!%s@%s %lu",
45 >  /* 203 */  [RPL_TRACEUNKNOWN] = "???? %s %s (%s) %ju",
46 >  /* 204 */  [RPL_TRACEOPERATOR] = "Oper %s %s (%s) %ju %u",
47 >  /* 205 */  [RPL_TRACEUSER] = "User %s %s (%s) %ju %u",
48 >  /* 206 */  [RPL_TRACESERVER] = "Serv %s %uS %uC %s %s!%s@%s %ju",
49    /* 208 */  [RPL_TRACENEWTYPE] = "<newtype> 0 %s",
50    /* 209 */  [RPL_TRACECLASS] = "Class %s %u",
51 <  /* 211 */  [RPL_STATSLINKINFO] = "%s %u %u %llu %u %llu :%u %u %s",
52 <  /* 212 */  [RPL_STATSCOMMANDS] = "%s %u %llu :%u",
51 >  /* 211 */  [RPL_STATSLINKINFO] = "%s %u %u %ju %u %ju :%ju %ju %s",
52 >  /* 212 */  [RPL_STATSCOMMANDS] = "%s %u %ju %u %u",
53    /* 213 */  [RPL_STATSCLINE] = "%c %s %s %s %u %s",
54    /* 215 */  [RPL_STATSILINE] = "%c %s * %s@%s %u %s",
55    /* 216 */  [RPL_STATSKLINE] = "%c %s * %s :%s",
56 <  /* 217 */  [RPL_STATSQLINE] = "%c %u %s :%s",
56 >  /* 217 */  [RPL_STATSQLINE] = "%c %s :%s",
57    /* 218 */  [RPL_STATSYLINE] = "%c %s %u %u %u %u %u %u %u/%u %u/%u %s",
58    /* 219 */  [RPL_ENDOFSTATS] = "%c :End of /STATS report",
59    /* 220 */  [RPL_STATSPLINE] = "%c %d %s %d %s :%s",
60    /* 221 */  [RPL_UMODEIS] = "%s",
61    /* 225 */  [RPL_STATSDLINE] = "%c %s :%s",
62    /* 226 */  [RPL_STATSALINE] = "%s",
63 +  /* 227 */  [RPL_STATSPSEUDO] = "s %s %s %s@%s :%s",
64    /* 241 */  [RPL_STATSLLINE] = "%c %s * %s %u %s",
65    /* 242 */  [RPL_STATSUPTIME] = ":Server Up %s",
66    /* 243 */  [RPL_STATSOLINE] = "%c %s@%s * %s %s %s",
67    /* 244 */  [RPL_STATSHLINE] = "%c %s * %s %u %s",
68    /* 245 */  [RPL_STATSTLINE] = "T %s %s",
69 <  /* 246 */  [RPL_STATSSERVICE] = "%c %s * %s %u %u",
70 <  /* 247 */  [RPL_STATSXLINE] = "%c %u %s :%s",
69 >  /* 246 */  [RPL_STATSSERVICE] = "S %s * %s %u %u",
70 >  /* 247 */  [RPL_STATSXLINE] = "%c %s :%s",
71    /* 248 */  [RPL_STATSULINE] = "U %s %s@%s %s",
72 <  /* 250 */  [RPL_STATSCONN] = ":Highest connection count: %u (%u clients) (%llu connections received)",
72 >  /* 250 */  [RPL_STATSCONN] = ":Highest connection count: %u (%u clients) (%ju connections received)",
73    /* 251 */  [RPL_LUSERCLIENT] = ":There are %u users and %u invisible on %u servers",
74    /* 252 */  [RPL_LUSEROP] = "%u :IRC Operators online",
75    /* 253 */  [RPL_LUSERUNKNOWN] = "%u :unknown connection(s)",
# Line 78 | Line 79 | static const char *const replies[] =
79    /* 257 */  [RPL_ADMINLOC1] = ":%s",
80    /* 258 */  [RPL_ADMINLOC2] = ":%s",
81    /* 259 */  [RPL_ADMINEMAIL] = ":%s",
82 <  /* 262 */  [RPL_ENDOFTRACE] = "%s :End of TRACE",
82 >  /* 262 */  [RPL_TRACEEND] = "%s :End of TRACE",
83    /* 263 */  [RPL_LOAD2HI] = "%s :Server load is temporarily too heavy. Please wait a while and try again.",
84    /* 265 */  [RPL_LOCALUSERS] = ":Current local users: %u  Max: %u",
85    /* 266 */  [RPL_GLOBALUSERS] = ":Current global users: %u  Max: %u",
# Line 86 | Line 87 | static const char *const replies[] =
87    /* 281 */  [RPL_ACCEPTLIST] = ":%s",
88    /* 282 */  [RPL_ENDOFACCEPT] = ":End of /ACCEPT list.",
89    /* 301 */  [RPL_AWAY] = "%s :%s",
90 <  /* 302 */  [RPL_USERHOST] = ":%s 302 %s :%s",
91 <  /* 303 */  [RPL_ISON] = ":%s 303 %s :",
90 >  /* 302 */  [RPL_USERHOST] = ":%s",
91 >  /* 303 */  [RPL_ISON] = ":%s",
92    /* 305 */  [RPL_UNAWAY] = ":You are no longer marked as being away",
93    /* 306 */  [RPL_NOWAWAY] = ":You have been marked as being away",
94    /* 307 */  [RPL_WHOISREGNICK] = "%s :has identified for this nick",
# Line 96 | Line 97 | static const char *const replies[] =
97    /* 313 */  [RPL_WHOISOPERATOR] = "%s :%s",
98    /* 314 */  [RPL_WHOWASUSER] = "%s %s %s * :%s",
99    /* 315 */  [RPL_ENDOFWHO] = "%s :End of /WHO list.",
100 <  /* 317 */  [RPL_WHOISIDLE] = "%s %u %d :seconds idle, signon time",
100 >  /* 317 */  [RPL_WHOISIDLE] = "%s %u %ju :seconds idle, signon time",
101    /* 318 */  [RPL_ENDOFWHOIS] = "%s :End of /WHOIS list.",
102 <  /* 319 */  [RPL_WHOISCHANNELS] = ":%s 319 %s %s :%s",
102 >  /* 319 */  [RPL_WHOISCHANNELS] = "%s :%s",
103    /* 321 */  [RPL_LISTSTART] = "Channel :Users  Name",
104    /* 322 */  [RPL_LIST] = "%s %u :%s%s",
105    /* 323 */  [RPL_LISTEND] = ":End of /LIST",
106    /* 324 */  [RPL_CHANNELMODEIS] = "%s %s %s",
107 <  /* 329 */  [RPL_CREATIONTIME] = "%s %lu",
107 >  /* 329 */  [RPL_CREATIONTIME] = "%s %ju",
108    /* 330 */  [RPL_WHOISACCOUNT] = "%s %s :%s logged in as",
109    /* 331 */  [RPL_NOTOPIC] = "%s :No topic is set.",
110    /* 332 */  [RPL_TOPIC] = "%s :%s",
111 <  /* 333 */  [RPL_TOPICWHOTIME] = "%s %s %lu",
111 <  /* 335 */  [RPL_WHOISTEXT] = "%s :%s",
111 >  /* 333 */  [RPL_TOPICWHOTIME] = "%s %s %ju",
112    /* 336 */  [RPL_INVITELIST] = ":%s",
113    /* 337 */  [RPL_ENDOFINVITELIST] = ":End of /INVITE list.",
114    /* 338 */  [RPL_WHOISACTUALLY] = "%s %s@%s %s :Actual user@host, actual IP",
115 +  /* 339 */  [RPL_WHOISTEXT] = "%s :%s",
116    /* 341 */  [RPL_INVITING] = "%s %s",
117 <  /* 346 */  [RPL_INVEXLIST] = "%s %s!%s@%s %s %lu",
117 >  /* 346 */  [RPL_INVEXLIST] = "%s %s %s %ju",
118    /* 347 */  [RPL_ENDOFINVEXLIST] = "%s :End of Channel Invite List",
119 <  /* 348 */  [RPL_EXCEPTLIST] = "%s %s!%s@%s %s %lu",
119 >  /* 348 */  [RPL_EXCEPTLIST] = "%s %s %s %ju",
120    /* 349 */  [RPL_ENDOFEXCEPTLIST] = "%s :End of Channel Exception List",
121 <  /* 351 */  [RPL_VERSION] = "%s(%s). %s :%s",
121 >  /* 351 */  [RPL_VERSION] = "%s. %s :%s",
122    /* 352 */  [RPL_WHOREPLY] = "%s %s %s %s %s %s :%u %s",
123 <  /* 353 */  [RPL_NAMREPLY] = ":%s 353 %s %s %s :",
124 <  /* 362 */  [RPL_CLOSING] = "%s :Closed. Status = %d",
123 >  /* 353 */  [RPL_NAMREPLY] = "%s %s :%s",
124 >  /* 362 */  [RPL_CLOSING] = "%s :Closed. Status = %u",
125    /* 363 */  [RPL_CLOSEEND] = "%u: Connections closed",
126    /* 364 */  [RPL_LINKS] = "%s %s :%u %s",
127    /* 365 */  [RPL_ENDOFLINKS] = "%s :End of /LINKS list.",
128    /* 366 */  [RPL_ENDOFNAMES] = "%s :End of /NAMES list.",
129 <  /* 367 */  [RPL_BANLIST] = "%s %s!%s@%s %s %lu",
129 >  /* 367 */  [RPL_BANLIST] = "%s %s %s %ju",
130    /* 368 */  [RPL_ENDOFBANLIST] = "%s :End of Channel Ban List",
131    /* 369 */  [RPL_ENDOFWHOWAS] = "%s :End of WHOWAS",
132    /* 371 */  [RPL_INFO] = ":%s",
# Line 135 | Line 136 | static const char *const replies[] =
136    /* 375 */  [RPL_MOTDSTART] = ":- %s Message of the Day - ",
137    /* 376 */  [RPL_ENDOFMOTD] = ":End of /MOTD command.",
138    /* 379 */  [RPL_WHOISMODES] = "%s :is using modes %s",
139 <  /* 381 */  [RPL_YOUREOPER] = ":You have entered... the Twilight Zone!",
139 >  /* 381 */  [RPL_YOUREOPER] = ":You are now an IRC operator",
140    /* 382 */  [RPL_REHASHING] = "%s :Rehashing",
140  /* 386 */  [RPL_RSACHALLENGE] = ":%s",
141    /* 391 */  [RPL_TIME] = "%s :%s",
142    /* 396 */  [RPL_VISIBLEHOST] = "%s :is now your visible host",
143    /* 401 */  [ERR_NOSUCHNICK] = "%s :No such nick/channel",
# Line 156 | Line 156 | static const char *const replies[] =
156    /* 414 */  [ERR_WILDTOPLEVEL] = "%s :Wildcard in top-level domain",
157    /* 421 */  [ERR_UNKNOWNCOMMAND] = "%s :Unknown command",
158    /* 422 */  [ERR_NOMOTD] = ":MOTD File is missing",
159  /* 423 */  [ERR_NOADMININFO] = "%s :No administrative info available",
159    /* 429 */  [ERR_TOOMANYAWAY] = ":Too many aways - Flood protection activated",
160    /* 431 */  [ERR_NONICKNAMEGIVEN] = ":No nickname given",
161    /* 432 */  [ERR_ERRONEUSNICKNAME] = "%s :%s",
162    /* 433 */  [ERR_NICKNAMEINUSE] = "%s :Nickname is already in use.",
163 +  /* 435 */  [ERR_BANNICKCHANGE] = "%s :Cannot change nickname while banned on channel",
164    /* 436 */  [ERR_NICKCOLLISION] = "%s :Nickname collision KILL",
165    /* 438 */  [ERR_NICKTOOFAST] = "%s :Nick change too fast. Please wait %u seconds.",
166    /* 440 */  [ERR_SERVICESDOWN] = "%s :Services are currently unavailable.",
167    /* 441 */  [ERR_USERNOTINCHANNEL] = "%s %s :They aren't on that channel",
168    /* 442 */  [ERR_NOTONCHANNEL] = "%s :You are not on that channel",
169    /* 443 */  [ERR_USERONCHANNEL] = "%s %s :is already on channel",
170 +  /* 447 */  [ERR_NONICKCHANGE] = ":Cannot change nickname while on %s (+N)",
171    /* 451 */  [ERR_NOTREGISTERED] = ":You have not registered",
172    /* 456 */  [ERR_ACCEPTFULL] = ":Accept list is full",
173    /* 457 */  [ERR_ACCEPTEXIST] = "%s!%s@%s :is already on your accept list",
# Line 184 | Line 185 | static const char *const replies[] =
185    /* 477 */  [ERR_NEEDREGGEDNICK] = "%s :You need to identify to a registered nick to join or speak in that channel.",
186    /* 478 */  [ERR_BANLISTFULL] = "%s %s :Channel ban list is full",
187    /* 479 */  [ERR_BADCHANNAME] = "%s :Illegal channel name",
188 +  /* 480 */  [ERR_CANNOTKNOCK] = "%s :Cannot knock on channel (+K)",
189    /* 481 */  [ERR_NOPRIVILEGES] = ":Permission denied - You are not an IRC operator",
190    /* 482 */  [ERR_CHANOPRIVSNEEDED] = "%s :You are not channel operator",
191    /* 483 */  [ERR_CANTKILLSERVER] = ":You cannot kill a server!",
192    /* 485 */  [ERR_CHANBANREASON] = "%s :Cannot join channel (%s)",
193    /* 486 */  [ERR_NONONREG] = "%s :You must identify to a registered nick to private message that person",
194 <  /* 489 */  [ERR_SSLONLYCHAN] = "%s :Cannot join channel (+S)",
194 >  /* 489 */  [ERR_SECUREONLYCHAN] = "%s :Cannot join channel (+S) - TLS required",
195    /* 491 */  [ERR_NOOPERHOST] = ":Only few of mere mortals may try to enter the twilight zone",
196    /* 492 */  [ERR_NOCTCP] = "%s :You cannot send CTCPs to this channel. Not sent: %s",
197    /* 501 */  [ERR_UMODEUNKNOWNFLAG] = ":Unknown MODE flag",
198    /* 502 */  [ERR_USERSDONTMATCH] = ":Cannot change mode for other users",
199    /* 504 */  [ERR_USERNOTONSERV] = "%s :User is not on this server",
198  /* 512 */  [ERR_TOOMANYWATCH] = "%s :Maximum size for WATCH-list is %u entries",
200    /* 513 */  [ERR_WRONGPONG] = ":To connect type /QUOTE PONG %u",
201    /* 520 */  [ERR_OPERONLYCHAN] = "%s :Cannot join channel (+O)",
202    /* 521 */  [ERR_LISTSYNTAX] = ":Bad list syntax, type /QUOTE HELP LIST",
203    /* 523 */  [ERR_WHOLIMEXCEED] = "%u :%s search limit exceeded.",
204    /* 524 */  [ERR_HELPNOTFOUND] = "%s :Help not found",
205 <  /* 600 */  [RPL_LOGON] = "%s %s %s %d :logged online",
205 <  /* 601 */  [RPL_LOGOFF] = "%s %s %s %d :logged offline",
206 <  /* 602 */  [RPL_WATCHOFF] = "%s %s %s %d :stopped watching",
207 <  /* 603 */  [RPL_WATCHSTAT] = ":You have %u and are on %u WATCH entries",
208 <  /* 604 */  [RPL_NOWON] = "%s %s %s %d :is online",
209 <  /* 605 */  [RPL_NOWOFF] = "%s %s %s %d :is offline",
210 <  /* 606 */  [RPL_WATCHLIST] = ":%s",
211 <  /* 607 */  [RPL_ENDOFWATCHLIST] = ":End of WATCH %c",
212 <  /* 671 */  [RPL_WHOISSECURE] = "%s :is connected via SSL (secure link)",
205 >  /* 671 */  [RPL_WHOISSECURE] = "%s :is connected via TLS (secure link)",
206    /* 702 */  [RPL_MODLIST] = "%s %p %s %s",
207    /* 703 */  [RPL_ENDOFMODLIST] = ":End of /MODULE LIST.",
208    /* 704 */  [RPL_HELPSTART] = "%s :%s",
# Line 226 | Line 219 | static const char *const replies[] =
219    /* 717 */  [RPL_TARGNOTIFY] = "%s :has been informed that you messaged them.",
220    /* 718 */  [RPL_UMODEGMSG] = "%s %s@%s :is messaging you, and you are umode %s.",
221    /* 723 */  [ERR_NOPRIVS] = "%s :Insufficient oper privileges.",
222 +  /* 730 */  [RPL_MONONLINE] =  ":%s",
223 +  /* 731 */  [RPL_MONOFFLINE] = ":%s",
224 +  /* 732 */  [RPL_MONLIST] = ":%s",
225 +  /* 733 */  [RPL_ENDOFMONLIST] = ":End of MONITOR list",
226 +  /* 734 */  [ERR_MONLISTFULL] = "%d %s :Monitor list is full",
227 +  /* 743 */  [ERR_INVALIDBAN] = "%s :Invalid ban mask",
228 +  /* 759 */  [RPL_ETRACEEND] = "%s :End of ETRACE",
229    /* 999 */  [ERR_LAST_ERR_MSG] = ":Last error message"
230   };
231  

Comparing ircd-hybrid/branches/8.2.x/src/numeric.c (property svn:keywords):
Revision 6570 by michael, Tue Oct 13 17:58:46 2015 UTC vs.
Revision 9772 by michael, Thu Dec 3 15:06:42 2020 UTC

# Line 1 | Line 1
1 < Id Revision
1 > Id

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)