X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fs_err.c;h=dc45c2eab768055e98103d27eca55ab7f2986896;hb=72b0c799c590095ad78de705f36e9553bd41fa67;hp=979ae0b66304b76f1719459a7d5a7a8d1710ebcc;hpb=c2050b07e7fb3bf2420fdb317ea024793666ef9c;p=ircu2.10.12-pk.git diff --git a/ircd/s_err.c b/ircd/s_err.c index 979ae0b..dc45c2e 100644 --- a/ircd/s_err.c +++ b/ircd/s_err.c @@ -48,7 +48,7 @@ static Numeric replyTable[] = { /* 007 */ { 0 }, /* 008 */ - { RPL_SNOMASK, "%d :: Server notice mask (%#x)", "008" }, + { RPL_SNOMASK, "%u :: Server notice mask (%#x)", "008" }, /* 009 */ { 0 }, /* 010 */ @@ -62,7 +62,7 @@ static Numeric replyTable[] = { /* 014 */ { 0 }, /* 015 */ - { RPL_MAP, ":%s%s%s %s [%i clients]", "015" }, + { RPL_MAP, ":%s%s%s %s [%u clients]", "015" }, /* 016 */ { RPL_MAPMORE, ":%s%s --> *more*", "016" }, /* 017 */ @@ -450,7 +450,7 @@ static Numeric replyTable[] = { /* 208 */ { RPL_TRACENEWTYPE, " 0 %s", "208" }, /* 209 */ - { RPL_TRACECLASS, "Class %s %d", "209" }, + { RPL_TRACECLASS, "Class %s %u", "209" }, /* 210 */ { 0 }, /* 211 */ @@ -458,17 +458,17 @@ static Numeric replyTable[] = { /* 212 */ { RPL_STATSCOMMANDS, "%s %u %u", "212" }, /* 213 */ - { RPL_STATSCLINE, "C %s %s%s %d %d %s %s", "213" }, + { RPL_STATSCLINE, "C %s * %d %d %s %s", "213" }, /* 214 */ { 0 }, /* 215 */ - { RPL_STATSILINE, "I %s %d %s%s %d %s", "215" }, + { RPL_STATSILINE, "I %s%s%s %d %s%s %d %s", "215" }, /* 216 */ { RPL_STATSKLINE, "%c %s@%s \"%s\" \"%s\" 0 0", "216" }, /* 217 */ { RPL_STATSPLINE, "P %d %d %s %s", "217" }, /* 218 */ - { RPL_STATSYLINE, "%c %s %d %d %d %ld %d", "218" }, + { RPL_STATSYLINE, "%c %s %d %d %u %u %u", "218" }, /* 219 */ { RPL_ENDOFSTATS, "%s :End of /STATS report", "219" }, /* 220 */ @@ -494,21 +494,21 @@ static Numeric replyTable[] = { /* 230 */ { 0 }, /* 231 */ - { RPL_SERVICEINFO, 0, "231" }, + { 0 }, /* 232 */ - { RPL_ENDOFSERVICES, 0, "232" }, + { 0 }, /* 233 */ - { RPL_SERVICE, 0, "233" }, + { 0 }, /* 234 */ - { RPL_SERVLIST, 0, "234" }, + { 0 }, /* 235 */ - { RPL_SERVLISTEND, 0, "235" }, + { 0 }, /* 236 */ { RPL_STATSVERBOSE, "V :Sent as explicit", "236" }, /* 237 */ { RPL_STATSENGINE, "%s :Event loop engine", "237" }, /* 238 */ - { RPL_STATSFLINE, "%c %s %s", "238" }, + { RPL_STATSFLINE, "F %s %s", "238" }, /* 239 */ { 0 }, /* 240 */ @@ -526,23 +526,23 @@ static Numeric replyTable[] = { /* 246 */ { RPL_STATSTLINE, "%c %s %s", "246" }, /* 247 */ - { RPL_STATSGLINE, "%c %s%s%s %Tu :%s", "247" }, + { RPL_STATSGLINE, "%c %s%s%s %Tu %Tu %Tu %s%c :%s", "247" }, /* 248 */ { RPL_STATSULINE, "U %s", "248" }, /* 249 */ { RPL_STATSDEBUG, 0, "249" }, /* 250 */ - { RPL_STATSCONN, ":Highest connection count: %d (%d clients)", "250" }, + { RPL_STATSCONN, ":Highest connection count: %u (%u clients)", "250" }, /* 251 */ - { RPL_LUSERCLIENT, ":There are %d users and %d invisible on %d servers", "251" }, + { RPL_LUSERCLIENT, ":There are %u users and %u invisible on %u servers", "251" }, /* 252 */ - { RPL_LUSEROP, "%d :operator(s) online", "252" }, + { RPL_LUSEROP, "%u :operator(s) online", "252" }, /* 253 */ - { RPL_LUSERUNKNOWN, "%d :unknown connection(s)", "253" }, + { RPL_LUSERUNKNOWN, "%u :unknown connection(s)", "253" }, /* 254 */ - { RPL_LUSERCHANNELS, "%d :channels formed", "254" }, + { RPL_LUSERCHANNELS, "%u :channels formed", "254" }, /* 255 */ - { RPL_LUSERME, ":I have %d clients and %d servers", "255" }, + { RPL_LUSERME, ":I have %u clients and %u servers", "255" }, /* 256 */ { RPL_ADMINME, ":Administrative info about %s", "256" }, /* 257 */ @@ -554,7 +554,7 @@ static Numeric replyTable[] = { /* 260 */ { 0 }, /* 261 */ - { RPL_TRACELOG, "File %s %d", "261" }, + { 0 }, /* 262 */ { RPL_TRACEEND, ":End of TRACE", "262" }, /* 263 */ @@ -592,7 +592,7 @@ static Numeric replyTable[] = { /* 279 */ { 0 }, /* 280 */ - { RPL_GLIST, "%s%s%s %Tu %s %c :%s", "280" }, + { RPL_GLIST, "%s%s%s %Tu %Tu %Tu %s %s%c :%s", "280" }, /* 281 */ { RPL_ENDOFGLIST, ":End of G-line List", "281" }, /* 282 */ @@ -632,7 +632,7 @@ static Numeric replyTable[] = { /* 299 */ { 0 }, /* 300 */ - { RPL_NONE, 0, "300" }, + { 0 }, /* 301 */ { RPL_AWAY, "%s :%s", "301" }, /* 302 */ @@ -640,7 +640,7 @@ static Numeric replyTable[] = { /* 303 */ { RPL_ISON, ":", "303" }, /* 304 */ - { RPL_TEXT, 0, "304" }, + { 0 }, /* 305 */ { RPL_UNAWAY, ":You are no longer marked as being away", "305" }, /* 306 */ @@ -676,7 +676,7 @@ static Numeric replyTable[] = { /* 321 */ { RPL_LISTSTART, "Channel :Users Name", "321" }, /* 322 */ - { RPL_LIST, "%s %d :%s", "322" }, + { RPL_LIST, "%s %u :%s", "322" }, /* 323 */ { RPL_LISTEND, ":End of /LIST", "323" }, /* 324 */ @@ -754,13 +754,13 @@ static Numeric replyTable[] = { /* 360 */ { 0 }, /* 361 */ - { RPL_KILLDONE, 0, "361" }, /* Not used */ + { 0 }, /* 362 */ { RPL_CLOSING, "%s :Operator enforced Close", "362" }, /* 363 */ { RPL_CLOSEEND, "%d :Connections Closed", "363" }, /* 364 */ - { RPL_LINKS, "%s %s :%d P%u %s", "364" }, + { RPL_LINKS, "%s %s :%u P%u %s", "364" }, /* 365 */ { RPL_ENDOFLINKS, "%s :End of /LINKS list.", "365" }, /* 366 */ @@ -778,7 +778,7 @@ static Numeric replyTable[] = { /* 372 */ { RPL_MOTD, ":- %s", "372" }, /* 373 */ - { RPL_INFOSTART, ":Server INFO", "373" }, + { 0 }, /* 374 */ { RPL_ENDOFINFO, ":End of /INFO list.", "374" }, /* 375 */ @@ -800,9 +800,9 @@ static Numeric replyTable[] = { /* 383 */ { 0 }, /* 384 */ - { RPL_MYPORTIS, "%d :Port to local server is", "384" }, /* not used */ + { 0 }, /* 385 */ - { RPL_NOTOPERANYMORE, 0, "385" }, /* not used */ + { 0 }, /* 386 */ { 0 }, /* 387 */ @@ -832,7 +832,7 @@ static Numeric replyTable[] = { /* 399 */ { 0 }, /* 400 */ - { ERR_FIRSTERROR, "", "400" }, + { 0 }, /* 401 */ { ERR_NOSUCHNICK, "%s :No such nick", "401" }, /* 402 */ @@ -866,7 +866,7 @@ static Numeric replyTable[] = { /* 416 */ { ERR_QUERYTOOLONG, "%s :Too many lines in the output, restrict your query", "416" }, /* 417 */ - { 0 }, + { ERR_INPUTTOOLONG, ":Input line was too long", "417" }, /* 418 */ { 0 }, /* 419 */ @@ -986,7 +986,7 @@ static Numeric replyTable[] = { /* 476 */ { ERR_BADCHANMASK, "%s :Bad Channel Mask", "476" }, /* 477 */ - { ERR_NEEDREGGEDNICK, "%s :Cannot join channel (+r)", "477" }, + { ERR_NEEDREGGEDNICK, "%s :Cannot join channel (+r): this channel requires authentication -- you can obtain an account from %s", "477" }, /* 478 */ { ERR_BANLISTFULL, "%s %s :Channel ban/ignore list is full", "478" }, /* 479 */ @@ -1014,7 +1014,7 @@ static Numeric replyTable[] = { /* 490 */ { 0 }, /* 491 */ - { ERR_NOOPERHOST, ":No O-lines for your host", "491" }, + { ERR_NOOPERHOST, ":No Operator block for your host", "491" }, /* 492 */ { 0 }, /* 493 */ @@ -1064,11 +1064,11 @@ static Numeric replyTable[] = { /* 515 */ { ERR_BADEXPIRE, "%Tu :Bad expire time", "515" }, /* 516 */ - { ERR_DONTCHEAT, " :Don't Cheat.", "516" }, + { ERR_DONTCHEAT, "%s :Don't Cheat.", "516" }, /* 517 */ { ERR_DISABLED, "%s :Command disabled.", "517" }, /* 518 */ - { ERR_LONGMASK, " :Mask is too long", "518" }, + { ERR_LONGMASK, ":Mask is too long", "518" }, /* 519 */ { ERR_TOOMANYUSERS, "%d :Too many users affected by mask", "519" }, /* 520 */ @@ -1082,7 +1082,7 @@ static Numeric replyTable[] = { /* 524 */ { ERR_QUARANTINED, "%s :Channel is quarantined : %s", "524" }, /* 525 */ - { 0 }, + { ERR_INVALIDKEY, "%s :Key is not well-formed", "525" }, /* 526 */ { 0 }, /* 527 */ @@ -1158,13 +1158,13 @@ static Numeric replyTable[] = { /* 562 */ { ERR_CHANSECURED, "%s :Channel is older than 48 hours and secured. Cannot change Admin pass anymore", "562" }, /* 563 */ - { ERR_UPASSSET, "%s :Cannot remove Admin pass (+A) while User pass (+U) is still set. First use /MODE %s -U ", "563" }, + { ERR_UPASSSET, "%s :Cannot remove Admin pass (+A) while User pass (+U) is still set. First use /MODE %s -U ", "563" }, /* 564 */ - { ERR_UPASSNOTSET, "%s :Cannot set user pass (+U) until Admin pass (+A) is set. First use /MODE %s +A ", "564" }, + { ERR_UPASSNOTSET, "%s :Cannot set user pass (+U) until Admin pass (+A) is set. First use /MODE %s +A ", "564" }, /* 565 */ - { ERR_NOMANAGER_LONG, "%s :Re-create the channel. The channel must be *empty* for 48 continuous hours before it can be recreated.", "565" }, + { 0 }, /* 566 */ - { ERR_NOMANAGER_SHORT, "%s :Re-create the channel. The channel must be *empty* for a minute or two before it can be recreated.", "566" }, + { ERR_NOMANAGER, "%s :Re-create the channel. The channel must be completely empty for a period of %s before it can be recreated.", "566" }, /* 567 */ { ERR_UPASS_SAME_APASS, "%s :Cannot use the same pass for both admin (+A) and user (+U) pass.", "567" }, /* 568 */