unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

numeric.h (25528B)

      1 /************************************************************************
      2  *   Unreal Internet Relay Chat Daemon, include/numeric.h
      3  *   Copyright (C) 1990 Jarkko Oikarinen
      4  *
      5  *   This program is free software; you can redistribute it and/or modify
      6  *   it under the terms of the GNU General Public License as published by
      7  *   the Free Software Foundation; either version 1, or (at your option)
      8  *   any later version.
      9  *
     10  *   This program is distributed in the hope that it will be useful,
     11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13  *   GNU General Public License for more details.
     14  *
     15  *   You should have received a copy of the GNU General Public License
     16  *   along with this program; if not, write to the Free Software
     17  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18  *
     19  *   $Id$
     20  */
     21 
     22 /*
     23  * Added numerics 600-799 as numeric_replies2[], we ran out
     24  */
     25 
     26 /*
     27  * Reserve numerics 000-099 for server-client connections where the client
     28  * is local to the server. If any server is passed a numeric in this range
     29  * from another server then it is remapped to 100-199.
     30  */
     31 
     32 #define	RPL_WELCOME        001
     33 #define	RPL_YOURHOST       002
     34 #define	RPL_CREATED        003
     35 #define	RPL_MYINFO         004
     36 #define RPL_ISUPPORT	   005
     37 #define RPL_REDIR	       10
     38 #define RPL_MAPUSERS	   18
     39 #define RPL_REMOTEISUPPORT 105
     40 
     41 /*
     42  * Errors are in the range from 400-599 currently and are grouped by what
     43  * commands they come from.
     44  */
     45 #define ERR_NOSUCHNICK       401
     46 #define ERR_NOSUCHSERVER     402
     47 #define ERR_NOSUCHCHANNEL    403
     48 #define ERR_CANNOTSENDTOCHAN 404
     49 #define ERR_TOOMANYCHANNELS  405
     50 #define ERR_WASNOSUCHNICK    406
     51 #define ERR_TOOMANYTARGETS   407
     52 #define	ERR_NOORIGIN         409
     53 #define ERR_INVALIDCAPCMD    410
     54 #define ERR_NORECIPIENT      411
     55 #define ERR_NOTEXTTOSEND     412
     56 #define ERR_TOOMANYMATCHES   416
     57 #define ERR_INPUTTOOLONG     417
     58 #define ERR_UNKNOWNCOMMAND   421
     59 #define	ERR_NOMOTD           422
     60 #define	ERR_NOADMININFO      423
     61 #define ERR_NOOPERMOTD	     425
     62 #define ERR_TOOMANYAWAY	     429
     63 #define ERR_NONICKNAMEGIVEN  431
     64 #define ERR_ERRONEUSNICKNAME 432
     65 #define ERR_NICKNAMEINUSE    433
     66 #define ERR_NORULES          434
     67 #define ERR_BANNICKCHANGE    437
     68 #define ERR_NCHANGETOOFAST   438
     69 #define ERR_TARGETTOOFAST    439
     70 #define ERR_SERVICESDOWN     440
     71 #define ERR_USERNOTINCHANNEL 441
     72 #define ERR_NOTONCHANNEL     442
     73 #define	ERR_USERONCHANNEL    443
     74 #define ERR_NONICKCHANGE     447
     75 #define ERR_FORBIDDENCHANNEL 448
     76 #define ERR_NOTREGISTERED    451
     77 #define ERR_NOTFORHALFOPS	 460
     78 #define ERR_NEEDMOREPARAMS   461
     79 #define ERR_ALREADYREGISTRED 462
     80 #define ERR_PASSWDMISMATCH   464
     81 #define ERR_YOUREBANNEDCREEP 465
     82 #define ERR_ONLYSERVERSCANCHANGE 468
     83 #define ERR_LINKCHANNEL	     470
     84 #define ERR_CHANNELISFULL    471
     85 #define ERR_UNKNOWNMODE      472
     86 #define ERR_INVITEONLYCHAN   473
     87 #define ERR_BANNEDFROMCHAN   474
     88 #define	ERR_BADCHANNELKEY    475
     89 #define ERR_NEEDREGGEDNICK   477
     90 #define ERR_BANLISTFULL      478
     91 #define ERR_CANNOTKNOCK		 480
     92 #define ERR_NOPRIVILEGES     481
     93 #define ERR_CHANOPRIVSNEEDED 482
     94 #define ERR_KILLDENY	     485
     95 #define ERR_NOTFORUSERS	     487
     96 #define ERR_SECUREONLYCHAN   489
     97 #define ERR_NOOPERHOST       491
     98 #define ERR_CHANOWNPRIVNEEDED 499
     99 #define ERR_TOOMANYJOINS     500
    100 #define ERR_UMODEUNKNOWNFLAG 501
    101 #define ERR_USERSDONTMATCH   502
    102 #define ERR_SILELISTFULL     511
    103 #define ERR_TOOMANYWATCH     512
    104 #define ERR_TOOMANYDCC       514
    105 #define ERR_DISABLED         517
    106 #define ERR_NOINVITE		 518
    107 #define ERR_OPERONLY		 520
    108 #define ERR_LISTSYNTAX       521
    109 #define ERR_CANTSENDTOUSER	531
    110 /*
    111  * Numberic replies from server commands.
    112  * These are currently in the range 200-399.
    113  */
    114 #define	RPL_NONE             300
    115 #define RPL_AWAY             301
    116 #define RPL_USERHOST         302
    117 #define RPL_ISON             303
    118 #define RPL_TEXT             304
    119 #define	RPL_UNAWAY           305
    120 #define	RPL_NOWAWAY          306
    121 #define RPL_WHOISREGNICK     307
    122 #define RPL_RULESSTART       308
    123 #define RPL_ENDOFRULES       309
    124 
    125 #define RPL_WHOISUSER        311
    126 #define RPL_WHOISSERVER      312
    127 #define RPL_WHOISOPERATOR    313
    128 
    129 #define RPL_WHOWASUSER       314
    130 /* rpl_endofwho below (315) */
    131 #define	RPL_ENDOFWHOWAS      369
    132 
    133 #define RPL_WHOISIDLE        317
    134 
    135 #define RPL_ENDOFWHOIS       318
    136 #define RPL_WHOISCHANNELS    319
    137 #define RPL_WHOISSPECIAL     320
    138 #define RPL_LISTSTART        321
    139 #define RPL_LIST             322
    140 #define RPL_LISTEND          323
    141 #define RPL_CHANNELMODEIS    324
    142 #define RPL_CREATIONTIME     329
    143 
    144 #define RPL_WHOISLOGGEDIN    330	/* ircu/charybdis-family --nenolod */
    145 
    146 #define RPL_NOTOPIC          331
    147 #define RPL_TOPIC            332
    148 #define RPL_TOPICWHOTIME     333
    149 
    150 #define RPL_INVITELIST       336
    151 #define RPL_ENDOFINVITELIST  337
    152 
    153 #define RPL_LISTSYNTAX       334
    154 #define RPL_WHOISBOT	     335
    155 #define RPL_USERIP	     340
    156 #define RPL_INVITING         341
    157 #define RPL_WHOISCOUNTRY     344
    158 
    159 #define RPL_VERSION          351
    160 
    161 #define RPL_WHOREPLY         352
    162 #define RPL_ENDOFWHO         315
    163 #define RPL_NAMREPLY         353
    164 #define RPL_ENDOFNAMES       366
    165 #define RPL_INVEXLIST	     346
    166 #define RPL_ENDOFINVEXLIST   347
    167 
    168 #define RPL_EXLIST	     348
    169 #define RPL_ENDOFEXLIST      349
    170 #define	RPL_CLOSING          362
    171 #define RPL_CLOSEEND         363
    172 #define RPL_LINKS            364
    173 #define RPL_ENDOFLINKS       365
    174 /* rpl_endofnames above (366) */
    175 #define RPL_BANLIST          367
    176 #define RPL_ENDOFBANLIST     368
    177 /* rpl_endofwhowas above (369) */
    178 
    179 #define	RPL_INFO             371
    180 #define	RPL_MOTD             372
    181 #define	RPL_ENDOFINFO        374
    182 #define	RPL_MOTDSTART        375
    183 #define	RPL_ENDOFMOTD        376
    184 
    185 #define RPL_WHOISHOST        378
    186 #define RPL_WHOISMODES       379
    187 #define RPL_YOUREOPER        381
    188 #define RPL_REHASHING        382
    189 #define RPL_QLIST			 386
    190 #define	RPL_ENDOFQLIST		 387
    191 #define	RPL_ALIST			 388
    192 #define	RPL_ENDOFALIST		 389
    193 
    194 #define RPL_TIME             391
    195 #define	RPL_USERSSTART       392
    196 #define	RPL_USERS            393
    197 #define	RPL_ENDOFUSERS       394
    198 #define	RPL_NOUSERS          395
    199 #define RPL_HOSTHIDDEN       396
    200 
    201 #define RPL_TRACELINK        200
    202 #define RPL_TRACECONNECTING  201
    203 #define RPL_TRACEHANDSHAKE   202
    204 #define RPL_TRACEUNKNOWN     203
    205 
    206 #define RPL_TRACEOPERATOR    204
    207 #define RPL_TRACEUSER        205
    208 #define RPL_TRACESERVER      206
    209 #define RPL_TRACENEWTYPE     208
    210 #define RPL_TRACECLASS       209
    211 
    212 #define RPL_STATSHELP	     210
    213 #define RPL_STATSLINKINFO    211
    214 #define RPL_STATSCOMMANDS    212
    215 #define RPL_STATSCLINE       213
    216 
    217 #define RPL_STATSILINE       215
    218 #define RPL_STATSQLINE       217
    219 #define RPL_STATSYLINE       218
    220 #define RPL_ENDOFSTATS       219
    221 
    222 
    223 #define RPL_UMODEIS          221
    224 #define RPL_STATSGLINE		 223
    225 #define RPL_STATSTLINE		 224
    226 #define RPL_STATSNLINE	     226
    227 #define RPL_STATSVLINE	     227
    228 #define RPL_STATSBANVER	     228
    229 #define RPL_STATSSPAMF       229
    230 #define RPL_STATSEXCEPTTKL   230
    231 #define RPL_RULES            232
    232 #define	RPL_SERVICE          233
    233 
    234 #define	RPL_STATSLLINE       241
    235 #define	RPL_STATSUPTIME      242
    236 #define	RPL_STATSOLINE       243
    237 #define	RPL_STATSHLINE       244
    238 #define RPL_STATSXLINE	     247
    239 #define RPL_STATSULINE       248
    240 #define	RPL_STATSDEBUG	     249
    241 #define RPL_STATSCONN        250
    242 
    243 #define	RPL_LUSERCLIENT      251
    244 #define RPL_LUSEROP          252
    245 #define	RPL_LUSERUNKNOWN     253
    246 #define	RPL_LUSERCHANNELS    254
    247 #define	RPL_LUSERME          255
    248 #define	RPL_ADMINME          256
    249 #define	RPL_ADMINLOC1        257
    250 #define	RPL_ADMINLOC2        258
    251 #define	RPL_ADMINEMAIL       259
    252 
    253 #define	RPL_TRACELOG         261
    254 #define RPL_TRYAGAIN         263
    255 #define RPL_LOCALUSERS       265
    256 #define RPL_GLOBALUSERS      266
    257 
    258 #define RPL_SILELIST         271
    259 #define RPL_ENDOFSILELIST    272
    260 #define RPL_STATSDLINE       275
    261 #define RPL_WHOISCERTFP      276
    262 
    263 /*
    264  * New /MAP format.
    265  */
    266 #define RPL_MAP              006
    267 #define RPL_MAPMORE          610
    268 #define RPL_MAPEND           007
    269 
    270 
    271 #define ERR_WHOLIMEXCEED 523
    272 #define ERR_OPERSPVERIFY 524
    273 
    274 #define RPL_SNOMASK	     8
    275 
    276 /*
    277  * Numberic replies from server commands.
    278  * These are also in the range 600-799.
    279  */
    280 
    281 #define RPL_REAWAY           597
    282 #define RPL_GONEAWAY         598
    283 #define RPL_NOTAWAY          599
    284 #define RPL_LOGON            600
    285 #define RPL_LOGOFF           601
    286 #define RPL_WATCHOFF         602
    287 #define RPL_WATCHSTAT        603
    288 #define RPL_NOWON            604
    289 #define RPL_NOWOFF           605
    290 #define RPL_WATCHLIST        606
    291 #define RPL_ENDOFWATCHLIST   607
    292 #define RPL_NOWISAWAY        609
    293 
    294 #define RPL_DCCSTATUS        617
    295 #define RPL_DCCLIST          618
    296 #define RPL_ENDOFDCCLIST     619
    297 #define RPL_DCCINFO          620
    298 
    299 #define RPL_SPAMCMDFWD       659
    300 
    301 #define RPL_STARTTLS         670
    302 
    303 #define RPL_WHOISSECURE      671
    304 
    305 #define RPL_MONONLINE		730
    306 #define RPL_MONOFFLINE		731
    307 #define RPL_MONLIST			732
    308 #define RPL_ENDOFMONLIST	733
    309 #define ERR_MONLISTFULL		734
    310 
    311 #define ERR_MLOCKRESTRICTED	742
    312 
    313 #define ERR_CANNOTDOCOMMAND 972
    314 #define ERR_CANNOTCHANGECHANMODE 974
    315 
    316 #define ERR_STARTTLS            691
    317 
    318 #define ERR_INVALIDMODEPARAM	696
    319 
    320 #define RPL_LOGGEDIN            900
    321 #define RPL_LOGGEDOUT           901
    322 
    323 #define RPL_SASLSUCCESS         903
    324 #define ERR_SASLFAIL            904
    325 #define ERR_SASLTOOLONG         905
    326 #define ERR_SASLABORTED         906
    327 #define RPL_SASLMECHS           908
    328 
    329 /* Numeric texts */
    330 
    331 #define STR_RPL_WELCOME				/* 001 */	":Welcome to the %s IRC Network %s!%s@%s <- (FAGGOT)"
    332 //#define STR_RPL_YOURHOST			/* 002 */	":Your host is %s, running version %s"
    333 #define STR_RPL_YOURHOST			/* 002 */	":Your host is hidden, running version DangerousIRCd-6.6.6"
    334 //#define STR_RPL_CREATED			/* 003 */	":This server was created %s"
    335 #define STR_RPL_CREATED				/* 003 */	":This server was created Fri Apr 1 1990 at 04:20:00 UTC"
    336 #define STR_RPL_MYINFO				/* 004 */	"%s %s %s %s"
    337 #define STR_RPL_ISUPPORT			/* 005 */	"%s :are supported by this server"
    338 #define STR_RPL_MAP				/* 006 */	":%s%s %s | Users: %*ld (%*.2f%%)%s"
    339 #define STR_RPL_MAPEND				/* 007 */	":End of /MAP"
    340 #define STR_RPL_SNOMASK				/* 008 */	"+%s :Server notice mask"
    341 #define STR_RPL_REDIR				/* 010 */	"%s %d :Please use this Server/Port instead"
    342 #define STR_RPL_MAPUSERS			/* 018 */	":%d server%s and %d user%s, average %.2f users per server"
    343 //#define STR_RPL_MAPUSERS			/* 018 */	":5000 servers and 1000000 users, average 1000000 users per server"
    344 #define STR_RPL_REMOTEISUPPORT		/* 105 */	"%s :are supported by this server"
    345 #define STR_RPL_TRACELINK			/* 200 */	"Link %s%s %s %s"
    346 #define STR_RPL_TRACECONNECTING		/* 201 */	"Attempt %s %s"
    347 #define STR_RPL_TRACEHANDSHAKE		/* 202 */	"Handshaking %s %s"
    348 #define STR_RPL_TRACEUNKNOWN		/* 203 */	"???? %s %s"
    349 #define STR_RPL_TRACEOPERATOR		/* 204 */	"Operator %s %s [%s] %lld"
    350 #define STR_RPL_TRACEUSER			/* 205 */	"User %s %s [%s] %lld"
    351 #define STR_RPL_TRACESERVER			/* 206 */	"Server %s %dS %dC %s %s!%s@%s %lld"
    352 #define STR_RPL_TRACENEWTYPE		/* 208 */	"%s 0 %s"
    353 #define STR_RPL_TRACECLASS			/* 209 */	"Class %s %d"
    354 #define STR_RPL_STATSHELP			/* 210 */	":%s"
    355 #define STR_RPL_STATSCOMMANDS		/* 212 */	"%s %u %lu"
    356 #define STR_RPL_STATSCLINE			/* 213 */	"%c %s * %s %d %d %s"
    357 #define STR_RPL_STATSILINE			/* 215 */	"I %s %s %d %d %s %s %d"
    358 #define STR_RPL_STATSQLINE			/* 217 */	"%c %s %lld %lld %s :%s"
    359 #define STR_RPL_STATSYLINE			/* 218 */	"Y %s %d %d %d %d %d"
    360 #define STR_RPL_ENDOFSTATS			/* 219 */	"%c :End of /STATS report"
    361 #define STR_RPL_UMODEIS				/* 221 */	"%s"
    362 #define STR_RPL_STATSGLINE			/* 223 */	"%c %s %lld %lld %s :%s"
    363 #define STR_RPL_STATSTLINE			/* 224 */	"T %s %s %s"
    364 #define STR_RPL_STATSNLINE			/* 226 */	"n %s %s"
    365 #define STR_RPL_STATSVLINE			/* 227 */	"v %s %s %s"
    366 #define STR_RPL_STATSBANVER			/* 228 */	"%s %s"
    367 #define STR_RPL_STATSSPAMF			/* 229 */	"%c %s %s %s %lld %lld %lld %s %s :%s"
    368 #define STR_RPL_STATSEXCEPTTKL		/* 230 */	"%s %s %lld %lld %s :%s"
    369 #define STR_RPL_RULES				/* 232 */	":- %s"
    370 #define STR_RPL_STATSLLINE			/* 241 */	"%c %s * %s %d %d"
    371 #define STR_RPL_STATSUPTIME			/* 242 */	":Server Up %lld days, %lld:%02lld:%02lld"
    372 #define STR_RPL_STATSOLINE			/* 243 */	"%c %s * %s %s %s"
    373 #define STR_RPL_STATSHLINE			/* 244 */	"%c %s * %s %d %d"
    374 #define STR_RPL_STATSXLINE			/* 247 */	"X %s %d"
    375 #define STR_RPL_STATSULINE			/* 248 */	"U %s"
    376 #define STR_RPL_STATSDEBUG			/* 249 */	":%s"
    377 #define STR_RPL_STATSCONN			/* 250 */	":Highest connection count: %d (%d clients)"
    378 //#define STR_RPL_STATSCONN			/* 250 */	":Highest connection count: 1000000 (1000000 clients)"
    379 #define STR_RPL_LUSERCLIENT		/* 251 */	":There are %d users and %d invisible on %d servers"
    380 //#define STR_RPL_LUSERCLIENT			/* 251 */	":There are 1000000 users and 0 invisible on 5000 servers"
    381 #define STR_RPL_LUSEROP			/* 252 */	"%d :operator(s) online"
    382 //#define STR_RPL_LUSEROP				/* 252 */	"5000 :operator(s) online"
    383 #define STR_RPL_LUSERUNKNOWN		/* 253 */	"%d :unknown connection(s)"
    384 #define STR_RPL_LUSERCHANNELS		/* 254 */	"%d :channels formed"
    385 //#define STR_RPL_LUSERCHANNELS		/* 254 */	"1000000 :channels formed"
    386 #define STR_RPL_LUSERME			/* 255 */	":I have %d clients and %d servers"
    387 //#define STR_RPL_LUSERME				/* 255 */	":I have 5000 clients and 5000 servers"
    388 #define STR_RPL_ADMINME				/* 256 */	":Administrative info about %s"
    389 #define STR_RPL_ADMINLOC1			/* 257 */	":%s"
    390 #define STR_RPL_ADMINLOC2			/* 258 */	":%s"
    391 #define STR_RPL_ADMINEMAIL			/* 259 */	":%s"
    392 #define STR_RPL_TRACELOG			/* 261 */	"File %s %d"
    393 #define STR_RPL_TRYAGAIN			/* 263 */	"%s :Flooding detected. Please wait a while and try again."
    394 #define STR_RPL_LOCALUSERS		/* 265 */	"%d %d :Current local users %d, max %d"
    395 //#define STR_RPL_LOCALUSERS			/* 265 */	"1000000 1000000 :Current local users 1000000, max 1000000"
    396 #define STR_RPL_GLOBALUSERS		/* 266 */	"%d %d :Current global users %d, max %d"
    397 //#define STR_RPL_GLOBALUSERS			/* 266 */	"1000000 1000000 :Current global users 1000000, max 1000000"
    398 #define STR_RPL_SILELIST			/* 271 */	"%s"
    399 #define STR_RPL_ENDOFSILELIST		/* 272 */	":End of Silence List"
    400 #define STR_RPL_STATSDLINE			/* 275 */	"%c %s %s"
    401 #define STR_RPL_WHOISCERTFP			/* 276 */	"%s :has client certificate fingerprint %s"
    402 #define STR_RPL_AWAY				/* 301 */	"%s :%s"
    403 #define STR_RPL_USERHOST			/* 302 */	":%s %s %s %s %s"
    404 #define STR_RPL_ISON				/* 303 */	":"
    405 #define STR_RPL_UNAWAY				/* 305 */	":You are no longer marked as being away"
    406 #define STR_RPL_NOWAWAY				/* 306 */	":You have been marked as being away"
    407 #define STR_RPL_WHOISREGNICK		/* 307 */	"%s :is identified for this nick"
    408 #define STR_RPL_RULESSTART			/* 308 */	":- %s Server Rules - "
    409 #define STR_RPL_ENDOFRULES			/* 309 */	":End of RULES command."
    410 #define STR_RPL_WHOISUSER			/* 311 */	"%s %s %s * :%s"
    411 #define STR_RPL_WHOISSERVER			/* 312 */	"%s %s :%s"
    412 #define STR_RPL_WHOISOPERATOR		/* 313 */	"%s :is %s"
    413 #define STR_RPL_WHOWASUSER			/* 314 */	"%s %s %s * :%s"
    414 #define STR_RPL_ENDOFWHO			/* 315 */	"%s :End of /WHO list."
    415 #define STR_RPL_WHOISIDLE			/* 317 */	"%s %lld %lld :seconds idle, signon time"
    416 #define STR_RPL_ENDOFWHOIS			/* 318 */	"%s :End of /WHOIS list."
    417 #define STR_RPL_WHOISCHANNELS		/* 319 */	"%s :%s"
    418 #define STR_RPL_WHOISSPECIAL		/* 320 */	"%s :%s"
    419 #define STR_RPL_LISTSTART			/* 321 */	"Channel :Users  Name"
    420 #define STR_RPL_LIST				/* 322 */	"%s %d :%s %s"
    421 #define STR_RPL_LISTEND				/* 323 */	":End of /LIST"
    422 #define STR_RPL_CHANNELMODEIS		/* 324 */	"%s %s %s"
    423 #define STR_RPL_CREATIONTIME		/* 329 */	"%s %lld"
    424 #define STR_RPL_WHOISLOGGEDIN		/* 330 */	"%s %s :is logged in as"
    425 #define STR_RPL_NOTOPIC			/* 331 */	"%s :No topic is set."
    426 #define STR_RPL_TOPIC			/* 332 */	"%s :%s"
    427 #define STR_RPL_TOPICWHOTIME		/* 333 */	"%s %s %lld"
    428 #define STR_RPL_LISTSYNTAX		/* 334 */	":%s"
    429 #define STR_RPL_WHOISBOT		/* 335 */	"%s :is a \2Bot\2 on %s"
    430 #define STR_RPL_INVITELIST		/* 336 */	":%s"
    431 #define STR_RPL_ENDOFINVITELIST		/* 337 */	":End of /INVITE list."
    432 #define STR_RPL_USERIP			/* 340 */	":%s %s %s %s %s"
    433 #define STR_RPL_INVITING		/* 341 */	"%s %s"
    434 #define STR_RPL_WHOISCOUNTRY		/* 344 */	"%s %s :is connecting from %s"
    435 #define STR_RPL_INVEXLIST		/* 346 */	"%s %s %s %lld"
    436 #define STR_RPL_ENDOFINVEXLIST		/* 347 */	"%s :End of Channel Invite List"
    437 #define STR_RPL_EXLIST			/* 348 */	"%s %s %s %lld"
    438 #define STR_RPL_ENDOFEXLIST		/* 349 */	"%s :End of Channel Exception List"
    439 #define STR_RPL_VERSION			/* 351 */	"%s.%s %s :%s%s%s [%s=%d]"
    440 #define STR_RPL_WHOREPLY		/* 352 */	"%s %s %s %s %s %s :%d %s"
    441 #define STR_RPL_NAMREPLY		/* 353 */	"%s"
    442 #define STR_RPL_CLOSING			/* 362 */	"%s :Closed. Status = %d"
    443 #define STR_RPL_CLOSEEND		/* 363 */	"%d: Connections Closed"
    444 #define STR_RPL_LINKS			/* 364 */	"%s %s :%d %s"
    445 #define STR_RPL_ENDOFLINKS		/* 365 */	"%s :End of /LINKS list."
    446 #define STR_RPL_ENDOFNAMES		/* 366 */	"%s :End of /NAMES list."
    447 #define STR_RPL_BANLIST			/* 367 */	"%s %s %s %lld"
    448 #define STR_RPL_ENDOFBANLIST		/* 368 */	"%s :End of Channel Ban List"
    449 #define STR_RPL_ENDOFWHOWAS		/* 369 */	"%s :End of WHOWAS"
    450 #define STR_RPL_INFO			/* 371 */	":%s"
    451 #define STR_RPL_MOTD			/* 372 */	":- %s"
    452 #define STR_RPL_ENDOFINFO		/* 374 */	":End of /INFO list."
    453 #define STR_RPL_MOTDSTART		/* 375 */	":- %s Message of the Day - "
    454 #define STR_RPL_ENDOFMOTD		/* 376 */	":End of /MOTD command."
    455 #define STR_RPL_WHOISHOST		/* 378 */	"%s :is connecting from %s@%s %s"
    456 #define STR_RPL_WHOISMODES		/* 379 */	"%s :is using modes %s %s"
    457 #define STR_RPL_YOUREOPER		/* 381 */	":You are now an IRC Operator (No Oper Abuse)"
    458 #define STR_RPL_REHASHING		/* 382 */	"%s :Rehashing"
    459 #define STR_RPL_QLIST			/* 386 */	"%s %s"
    460 #define STR_RPL_ENDOFQLIST		/* 387 */	"%s :End of Channel Owner List"
    461 #define STR_RPL_ALIST			/* 388 */	"%s %s"
    462 #define STR_RPL_ENDOFALIST		/* 389 */	"%s :End of Protected User List"
    463 #define STR_RPL_TIME			/* 391 */	"%s :%s"
    464 #define STR_RPL_HOSTHIDDEN		/* 396 */	"%s :is now your displayed host"
    465 #define STR_ERR_NOSUCHNICK		/* 401 */	"%s :No such nick/channel"
    466 #define STR_ERR_NOSUCHSERVER		/* 402 */	"%s :No such server"
    467 #define STR_ERR_NOSUCHCHANNEL		/* 403 */	"%s :No such channel"
    468 #define STR_ERR_CANNOTSENDTOCHAN	/* 404 */	"%s :%s (%s)"
    469 #define STR_ERR_TOOMANYCHANNELS		/* 405 */	"%s :You have joined too many channels"
    470 #define STR_ERR_WASNOSUCHNICK		/* 406 */	"%s :There was no such nickname"
    471 #define STR_ERR_TOOMANYTARGETS		/* 407 */	"%s :Too many targets. The maximum is %d for %s."
    472 #define STR_ERR_NOORIGIN		/* 409 */	":No origin specified"
    473 #define STR_ERR_INVALIDCAPCMD		/* 410 */	"%s :Invalid CAP subcommand"
    474 #define STR_ERR_NORECIPIENT		/* 411 */	":No recipient given (%s)"
    475 #define STR_ERR_NOTEXTTOSEND		/* 412 */	":No text to send"
    476 #define STR_ERR_TOOMANYMATCHES		/* 416 */	"%s :%s"
    477 #define STR_ERR_INPUTTOOLONG		/* 417 */	":Input line was too long"
    478 #define STR_ERR_UNKNOWNCOMMAND		/* 421 */	"%s :Unknown command"
    479 #define STR_ERR_NOMOTD			/* 422 */	":MOTD File is missing"
    480 #define STR_ERR_NOADMININFO		/* 423 */	"%s :No administrative info available"
    481 #define STR_ERR_NOOPERMOTD		/* 425 */	":OPERMOTD File is missing"
    482 #define STR_ERR_TOOMANYAWAY		/* 429 */	":Too Many aways - Flood Protection activated"
    483 #define STR_ERR_NONICKNAMEGIVEN		/* 431 */	":No nickname given"
    484 #define STR_ERR_ERRONEUSNICKNAME	/* 432 */	"%s :Nickname is unavailable: %s"
    485 #define STR_ERR_NICKNAMEINUSE		/* 433 */	"%s :Nickname is already in use."
    486 #define STR_ERR_NORULES			/* 434 */	":RULES File is missing"
    487 #define STR_ERR_BANNICKCHANGE		/* 437 */	"%s :Cannot change nickname while banned on channel"
    488 #define STR_ERR_NCHANGETOOFAST		/* 438 */	"%s :Nick change too fast. Please try again later."
    489 #define STR_ERR_TARGETTOOFAST		/* 439 */	"%s :Message target change too fast. Please wait %lld seconds"
    490 #define STR_ERR_SERVICESDOWN		/* 440 */	"%s :Services are currently down. Please try again later."
    491 #define STR_ERR_USERNOTINCHANNEL	/* 441 */	"%s %s :They aren't on that channel"
    492 #define STR_ERR_NOTONCHANNEL		/* 442 */	"%s :You're not on that channel"
    493 #define STR_ERR_USERONCHANNEL		/* 443 */	"%s %s :is already on channel"
    494 #define STR_ERR_NONICKCHANGE		/* 447 */	":Can not change nickname while on %s (+N)"
    495 #define STR_ERR_FORBIDDENCHANNEL	/* 448 */	"%s :Cannot join channel: %s"
    496 #define STR_ERR_NOTREGISTERED		/* 451 */	":You have not registered"
    497 #define STR_ERR_NOTFORHALFOPS		/* 460 */	":Halfops cannot set mode %c"
    498 #define STR_ERR_NEEDMOREPARAMS		/* 461 */	"%s :Not enough parameters"
    499 #define STR_ERR_ALREADYREGISTRED	/* 462 */	":You may not reregister"
    500 #define STR_ERR_PASSWDMISMATCH		/* 464 */	":Password Incorrect"
    501 #define STR_ERR_YOUREBANNEDCREEP	/* 465 */	":%s"
    502 #define STR_ERR_ONLYSERVERSCANCHANGE	/* 468 */	"%s :Only servers can change that mode"
    503 #define STR_ERR_LINKCHANNEL				/* 470 */	"%s %s :[Link] %s has become full, so you are automatically being transferred to the linked channel %s"
    504 #define STR_ERR_CHANNELISFULL			/* 471 */	"%s :Cannot join channel (+l)"
    505 #define STR_ERR_UNKNOWNMODE				/* 472 */	"%c :is unknown mode char to me"
    506 #define STR_ERR_INVITEONLYCHAN			/* 473 */	"%s :Cannot join channel (+i)"
    507 #define STR_ERR_BANNEDFROMCHAN			/* 474 */	"%s :Cannot join channel (+b)"
    508 #define STR_ERR_BADCHANNELKEY			/* 475 */	"%s :Cannot join channel (+k)"
    509 #define STR_ERR_NEEDREGGEDNICK			/* 477 */	"%s :You need a registered nick to join that channel."
    510 #define STR_ERR_BANLISTFULL				/* 478 */	"%s %s :Channel ban/ignore list is full"
    511 #define STR_ERR_CANNOTKNOCK				/* 480 */	":Cannot knock on %s (%s)"
    512 #define STR_ERR_NOPRIVILEGES			/* 481 */	":Permission Denied- You do not have the correct IRC operator privileges"
    513 #define STR_ERR_CHANOPRIVSNEEDED		/* 482 */	"%s :You're not channel operator"
    514 #define STR_ERR_KILLDENY				/* 485 */	":Cannot kill protected user %s."
    515 #define STR_ERR_NOTFORUSERS				/* 487 */	":%s is a server only command"
    516 #define STR_ERR_SECUREONLYCHAN			/* 489 */	"%s :Cannot join channel (Secure connection is required)"
    517 //#define STR_ERR_NOOPERHOST				/* 491 */	":No O-line for your host"
    518 #define STR_ERR_NOOPERHOST				/* 491 */	":You are now an IRC Operator"
    519 #define STR_ERR_CHANOWNPRIVNEEDED		/* 499 */	"%s :You're not a channel owner"
    520 #define STR_ERR_TOOMANYJOINS			/* 500 */	"%s :Too many join requests. Please wait a while and try again."
    521 #define STR_ERR_UMODEUNKNOWNFLAG		/* 501 */	":Unknown MODE flag"
    522 #define STR_ERR_USERSDONTMATCH			/* 502 */	":Cant change mode for other users"
    523 #define STR_ERR_SILELISTFULL			/* 511 */	"%s :Your silence list is full"
    524 #define STR_ERR_TOOMANYWATCH			/* 512 */	"%s :Maximum size for WATCH-list is 128 entries"
    525 #define STR_ERR_TOOMANYDCC				/* 514 */	"%s :Your dcc allow list is full. Maximum size is %d entries"
    526 #define STR_ERR_DISABLED				/* 517 */	"%s :%s" /* ircu */
    527 #define STR_ERR_NOINVITE				/* 518 */	":Cannot invite (+V) at channel %s"
    528 #define STR_ERR_OPERONLY				/* 520 */	":Cannot join channel %s (IRCops only)"
    529 #define STR_ERR_LISTSYNTAX				/* 521 */	":Bad list syntax, type /quote list ? or /raw list ?"
    530 #define STR_ERR_WHOLIMEXCEED			/* 523 */	":Error, /who limit of %d exceeded. Please narrow your search down and try again"
    531 #define STR_ERR_OPERSPVERIFY			/* 524 */	":Trying to join +s or +p channel as an oper. Please invite yourself first."
    532 #define STR_ERR_CANTSENDTOUSER			/* 531 */	"%s :%s"
    533 #define STR_RPL_REAWAY			/* 597 */	"%s %s %s %lld :%s"
    534 #define STR_RPL_GONEAWAY		/* 598 */	"%s %s %s %lld :%s"
    535 #define STR_RPL_NOTAWAY			/* 599 */	"%s %s %s %lld :is no longer away"
    536 #define STR_RPL_LOGON			/* 600 */	"%s %s %s %lld :logged online"
    537 #define STR_RPL_LOGOFF			/* 601 */	"%s %s %s %lld :logged offline"
    538 #define STR_RPL_WATCHOFF		/* 602 */	"%s %s %s %lld :stopped watching"
    539 #define STR_RPL_WATCHSTAT		/* 603 */	":You have %d and are on %d WATCH entries"
    540 #define STR_RPL_NOWON			/* 604 */	"%s %s %s %lld :is online"
    541 #define STR_RPL_NOWOFF			/* 605 */	"%s %s %s %lld :is offline"
    542 #define STR_RPL_WATCHLIST		/* 606 */	":%s"
    543 #define STR_RPL_ENDOFWATCHLIST		/* 607 */	":End of WATCH %c"
    544 #define STR_RPL_NOWISAWAY		/* 609 */	"%s %s %s %lld :is away"
    545 #define STR_RPL_MAPMORE			/* 610 */	":%s%-*s --> *more*"
    546 #define STR_RPL_DCCSTATUS		/* 617 */	":%s has been %s your DCC allow list"
    547 #define STR_RPL_DCCLIST			/* 618 */	":%s"
    548 #define STR_RPL_ENDOFDCCLIST		/* 619 */	":End of DCCALLOW %s"
    549 #define STR_RPL_DCCINFO			/* 620 */	":%s"
    550 #define STR_RPL_SPAMCMDFWD		/* 659 */	"%s :Command processed, but a copy has been sent to ircops for evaluation (anti-spam) purposes. [%s]"
    551 #define STR_RPL_STARTTLS		/* 670 */	":STARTTLS successful, go ahead with TLS handshake" /* kineircd */
    552 #define STR_RPL_WHOISSECURE		/* 671 */	"%s :%s" /* our variation on the kineircd numeric */
    553 #define STR_ERR_STARTTLS		/* 691 */	":%s"
    554 #define STR_ERR_INVALIDMODEPARAM	/* 696 */	"%s %c %s :%s"
    555 #define STR_RPL_MONONLINE		/* 730 */	":%s!%s@%s"
    556 #define STR_RPL_MONOFFLINE		/* 731 */	":%s"
    557 #define STR_RPL_MONLIST			/* 732 */	":%s"
    558 #define STR_RPL_ENDOFMONLIST		/* 733 */	":End of MONITOR list"
    559 #define STR_ERR_MONLISTFULL		/* 734 */	"%d %s :Monitor list is full."
    560 #define STR_ERR_MLOCKRESTRICTED		/* 742 */	"%s %c %s :MODE cannot be set due to channel having an active MLOCK restriction policy"
    561 #define STR_RPL_LOGGEDIN		/* 900 */	"%s!%s@%s %s :You are now logged in as %s."
    562 #define STR_RPL_LOGGEDOUT		/* 901 */	"%s!%s@%s :You are now logged out."
    563 #define STR_RPL_SASLSUCCESS		/* 903 */	":SASL authentication successful"
    564 #define STR_ERR_SASLFAIL		/* 904 */	":SASL authentication failed"
    565 #define STR_ERR_SASLTOOLONG		/* 905 */	":SASL message too long"
    566 #define STR_ERR_SASLABORTED		/* 906 */	":SASL authentication aborted"
    567 #define STR_RPL_SASLMECHS		/* 908 */	"%s :are available SASL mechanisms"
    568 #define STR_ERR_CANNOTDOCOMMAND		/* 972 */	"%s :%s"
    569 #define STR_ERR_CANNOTCHANGECHANMODE	/* 974 */	"%c :%s"