Logo Search packages:      
Sourcecode: dancer-ircd version File versions  Download package

numeric.c

/************************************************************************
 *   IRC - Internet Relay Chat, src/numeric.c
 *   Copyright (C) 1992 Darren Reed
 *
 *   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
 *   the Free Software Foundation; either version 1, or (at your option)
 *   any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 *
 *      I kind of modernized this code a bit. -Dianora
 *
 */
#include "numeric.h"
#include "irc_string.h"
#include "common.h"     /* NULL cripes */

#include <assert.h>

static const char *replies[] = {
/* 000 */       (char *)NULL,
/* 001  RPL_WELCOME, */ ":%s 001 %s :Welcome to the %s Network %s",
/* 002  RPL_YOURHOST,*/ ":%s 002 %s :Your host is %s, running version %s",
/* 003  RPL_CREATED, */ ":%s 003 %s :This server was cobbled together %s",
/* 004  RPL_MYINFO, */  ":%s 004 %s %s %s %s bcdefFhiIklmnoPqstv",
/* 005  RPL_PROTOCTL */ ":%s 005 %s "
      "MODES=%u CHANLIMIT=#:%u NICKLEN=%u USERLEN=%u HOSTLEN=%u "
      "TOPICLEN=%u KICKLEN=%u CHANNELLEN=%u KEYLEN=%u "
      "CHANTYPES=# PREFIX=(ov)@+ CASEMAPPING=ascii "
      "CAPAB IRCD=dancer "
      ":are available on this server",
/* 006 */       (char *)NULL,
/* 007 */       (char *)NULL,
/* 008 */       (char *)NULL,
/* 009 */       (char *)NULL,
/* 010 */       (char *)NULL,
/* 011 */       (char *)NULL,
/* 012 */       (char *)NULL,
/* 013 */       (char *)NULL,
/* 014 */       (char *)NULL,
/* 015 */       (char *)NULL,
/* 016 */       (char *)NULL,
/* 017 */       (char *)NULL,
/* 018 */       (char *)NULL,
/* 019 */       (char *)NULL,
/* 020 */       (char *)NULL,
/* 021 */       (char *)NULL,
/* 022 */       (char *)NULL,
/* 023 */       (char *)NULL,
/* 024 */       (char *)NULL,
/* 025 */       (char *)NULL,
/* 026 */       (char *)NULL,
/* 027 */       (char *)NULL,
/* 028 */       (char *)NULL,
/* 029 */       (char *)NULL,
/* 030 */       (char *)NULL,
/* 031 */       (char *)NULL,
/* 032 */       (char *)NULL,
/* 033 */       (char *)NULL,
/* 034 */       (char *)NULL,
/* 035 */       (char *)NULL,
/* 036 */       (char *)NULL,
/* 037 */       (char *)NULL,
/* 038 */       (char *)NULL,
/* 039 */       (char *)NULL,
/* 040 */       (char *)NULL,
/* 041 */       (char *)NULL,
/* 042 */       (char *)NULL,
/* 043 */       (char *)NULL,
/* 044 */       (char *)NULL,
/* 045 */       (char *)NULL,
/* 046 */       (char *)NULL,
/* 047 */       (char *)NULL,
/* 048 */       (char *)NULL,
/* 049 */       (char *)NULL,
/* 050 */       (char *)NULL,
/* 051 */       (char *)NULL,
/* 052 */       (char *)NULL,
/* 053 */       (char *)NULL,
/* 054 */       (char *)NULL,
/* 055 */       (char *)NULL,
/* 056 */       (char *)NULL,
/* 057 */       (char *)NULL,
/* 058 */       (char *)NULL,
/* 059 */       (char *)NULL,
/* 060 */       (char *)NULL,
/* 061 */       (char *)NULL,
/* 062 */       (char *)NULL,
/* 063 */       (char *)NULL,
/* 064 */       (char *)NULL,
/* 065 */       (char *)NULL,
/* 066 */       (char *)NULL,
/* 067 */       (char *)NULL,
/* 068 */       (char *)NULL,
/* 069 */       (char *)NULL,
/* 070 */       (char *)NULL,
/* 071 */       (char *)NULL,
/* 072 */       (char *)NULL,
/* 073 */       (char *)NULL,
/* 074 */       (char *)NULL,
/* 075 */       (char *)NULL,
/* 076 */       (char *)NULL,
/* 077 */       (char *)NULL,
/* 078 */       (char *)NULL,
/* 079 */       (char *)NULL,
/* 080 */       (char *)NULL,
/* 081 */       (char *)NULL,
/* 082 */       (char *)NULL,
/* 083 */       (char *)NULL,
/* 084 */       (char *)NULL,
/* 085 */       (char *)NULL,
/* 086 */       (char *)NULL,
/* 087 */       (char *)NULL,
/* 088 */       (char *)NULL,
/* 089 */       (char *)NULL,
/* 090 */       (char *)NULL,
/* 091 */       (char *)NULL,
/* 092 */       (char *)NULL,
/* 093 */       (char *)NULL,
/* 094 */       (char *)NULL,
/* 095 */       (char *)NULL,
/* 096 */       (char *)NULL,
/* 097 */       (char *)NULL,
/* 098 */       (char *)NULL,
/* 099 */       (char *)NULL,
/* 100 */       (char *)NULL,
/* 101 */       (char *)NULL,
/* 102 */       (char *)NULL,
/* 103 */       (char *)NULL,
/* 104 */       (char *)NULL,
/* 105 */       (char *)NULL,
/* 106 */       (char *)NULL,
/* 107 */       (char *)NULL,
/* 108 */       (char *)NULL,
/* 109 */       (char *)NULL,
/* 110 */       (char *)NULL,
/* 111 */       (char *)NULL,
/* 112 */       (char *)NULL,
/* 113 */       (char *)NULL,
/* 114 */       (char *)NULL,
/* 115 */       (char *)NULL,
/* 116 */       (char *)NULL,
/* 117 */       (char *)NULL,
/* 118 */       (char *)NULL,
/* 119 */       (char *)NULL,
/* 120 */       (char *)NULL,
/* 121 */       (char *)NULL,
/* 122 */       (char *)NULL,
/* 123 */       (char *)NULL,
/* 124 */       (char *)NULL,
/* 125 */       (char *)NULL,
/* 126 */       (char *)NULL,
/* 127 */       (char *)NULL,
/* 128 */       (char *)NULL,
/* 129 */       (char *)NULL,
/* 130 */       (char *)NULL,
/* 131 */       (char *)NULL,
/* 132 */       (char *)NULL,
/* 133 */       (char *)NULL,
/* 134 */       (char *)NULL,
/* 135 */       (char *)NULL,
/* 136 */       (char *)NULL,
/* 137 */       (char *)NULL,
/* 138 */       (char *)NULL,
/* 139 */       (char *)NULL,
/* 140 */       (char *)NULL,
/* 141 */       (char *)NULL,
/* 142 */       (char *)NULL,
/* 143 */       (char *)NULL,
/* 144 */       (char *)NULL,
/* 145 */       (char *)NULL,
/* 146 */       (char *)NULL,
/* 147 */       (char *)NULL,
/* 148 */       (char *)NULL,
/* 149 */       (char *)NULL,
/* 150 */       (char *)NULL,
/* 151 */       (char *)NULL,
/* 152 */       (char *)NULL,
/* 153 */       (char *)NULL,
/* 154 */       (char *)NULL,
/* 155 */       (char *)NULL,
/* 156 */       (char *)NULL,
/* 157 */       (char *)NULL,
/* 158 */       (char *)NULL,
/* 159 */       (char *)NULL,
/* 160 */       (char *)NULL,
/* 161 */       (char *)NULL,
/* 162 */       (char *)NULL,
/* 163 */       (char *)NULL,
/* 164 */       (char *)NULL,
/* 165 */       (char *)NULL,
/* 166 */       (char *)NULL,
/* 167 */       (char *)NULL,
/* 168 */       (char *)NULL,
/* 169 */       (char *)NULL,
/* 170 */       (char *)NULL,
/* 171 */       (char *)NULL,
/* 172 */       (char *)NULL,
/* 173 */       (char *)NULL,
/* 174 */       (char *)NULL,
/* 175 */       (char *)NULL,
/* 176 */       (char *)NULL,
/* 177 */       (char *)NULL,
/* 178 */       (char *)NULL,
/* 179 */       (char *)NULL,
/* 180 */       (char *)NULL,
/* 181 */       (char *)NULL,
/* 182 */       (char *)NULL,
/* 183 */       (char *)NULL,
/* 184 */       (char *)NULL,
/* 185 */       (char *)NULL,
/* 186 */       (char *)NULL,
/* 187 */       (char *)NULL,
/* 188 */       (char *)NULL,
/* 189 */       (char *)NULL,
/* 190 */       (char *)NULL,
/* 191 */       (char *)NULL,
/* 192 */       (char *)NULL,
/* 193 */       (char *)NULL,
/* 194 */       (char *)NULL,
/* 195 */       (char *)NULL,
/* 196 */       (char *)NULL,
/* 197 */       (char *)NULL,
/* 198 */       (char *)NULL,
/* 199 */       (char *)NULL,
/* 200 RPL_TRACELINK, */        ":%s 200 %s Link %s%s %s %s",
/* 201 RPL_TRACECONNECTING, */  ":%s 201 %s Try. %d %s",
/* 202 RPL_TRACEHANDSHAKE, */   ":%s 202 %s H.S. %d %s",
/* 203 RPL_TRACEUNKNOWN, */     ":%s 203 %s ???? %d %s (%s) %d",
/* 204 RPL_TRACEOPERATOR, */    ":%s 204 %s Oper %d %s (%s) %lu %lu",
/* 205 RPL_TRACEUSER, */        ":%s 205 %s User %d %s (%s) %lu %lu",
/* 206 RPL_TRACESERVER, */      ":%s 206 %s Serv %d %dS %dC %s %s!%s@%s %lu",
/* 207 */       (char *)NULL,
/* 208 RPL_TRACENEWTYPE, */     ":%s 208 %s <newtype> 0 %s",
/* 209 RPL_TRACECLASS, */       ":%s 209 %s Class %d %d",
/* 210 */       (char *)NULL,
/* 211 RPL_STATSLINKINFO, */    (char *)NULL,
/* 212 RPL_STATSCOMMANDS, */    ":%s 212 %s %s %u %u",
/* 213 RPL_STATSCLINE, */       ":%s 213 %s %c %s * %s %d %d",
/* 214 RPL_STATSNLINE, */       ":%s 214 %s %c %s * %s %d %d",
/* 215 RPL_STATSILINE, */       ":%s 215 %s %c %s * %s@%s %d %d",
/* 216 RPL_STATSKLINE, */       ":%s 216 %s %c %s * %s %s",
/* 217 RPL_STATSQLINE, */       ":%s 217 %s %s %s %s@%s",
/* 218 RPL_STATSYLINE, */       ":%s 218 %s %c %d %d %d %d %lu %d",
/* 219 RPL_ENDOFSTATS, */       ":%s 219 %s %c :End of /STATS report",
/* 220 RPL_STATSPLINE, */       ":%s 220 %s %c %d %s %d :%s",
/* 221 RPL_UMODEIS, */          ":%s 221 %s %s",
/* 222 */       (char *)NULL,
/* 223 */       (char *)NULL,
/* 224 */       (char *)NULL,
/* 225 RPL_STATSDLINE*/         ":%s 225 %s %c %s %s",
/* 226 */       (char *)NULL,
/* 227 RPL_OPTION */            ":%s 227 %s %s %s %s",
/* 228 RPL_ENDOPTIONS */        ":%s 228 %s %s %s :End of SET options",
/* 229 */       (char *)NULL,
/* 230 */       (char *)NULL,
/* 231 */       (char *)NULL,
/* 232 */       (char *)NULL,
/* 233 */       (char *)NULL,
/* 234 RPL_SERVLIST, */ (char *)NULL,
/* 235 RPL_SERVLISTEND, */ (char *)NULL,
/* 236 */       (char *)NULL,
/* 237 */       (char *)NULL,
/* 238 */       (char *)NULL,
/* 239 */       (char *)NULL,
/* 240 */       (char *)NULL,
/* 241 RPL_STATSLLINE, */       ":%s 241 %s %c %s * %s %d %d",
/* 242 RPL_STATSUPTIME,*/       ":%s 242 %s :Server up %d days, %d:%02d:%02d since somebody threw me together",
/* 243 RPL_STATSOLINE, */       ":%s 243 %s %c %s@%s * %s %s %d %s",
/* 244 RPL_STATSHLINE, */       ":%s 244 %s %c %s * %s %d %d", 
/* 245 RPL_STATSSLINE, */       ":%s 245 %s %c %s * %s %d %d", 
/* 246 */       (char *)NULL,
/* 247 RPL_STATSXLINE, */       ":%s 247 %s %s %s * * 0 0",

/* 248 RPL_STATSULINE, */       (char *)NULL,
/* 249 */       (char *)NULL,
/* 250 RPL_STATSCONN, */
                    ":%s 250 %s :Highest connection count: %d (%d clients) (%d since server was (re)started)",
/* 251 RPL_LUSERCLIENT, */
                ":%s 251 %s :There are %d victims and %d hiding on %d servers",
/* 252 RPL_LUSEROP, */          ":%s 252 %s %d :flagged staff members",
/* 253 RPL_LUSERUNKNOWN, */     ":%s 253 %s %d :unknown connection(s)",
/* 254 RPL_LUSERCHANNELS, */    ":%s 254 %s %d :channels formed",
/* 255 RPL_LUSERME, */          ":%s 255 %s :I have %d clients and %d servers",
/* 256 RPL_ADMINME, */          ":%s 256 %s :Administrative info about %s",
/* 257 RPL_ADMINLOC1, */        ":%s 257 %s :%s",
/* 258 RPL_ADMINLOC2, */        ":%s 258 %s :%s",
/* 259 RPL_ADMINEMAIL, */       ":%s 259 %s :%s",
/* 260 */       (char *)NULL,
/* 261 RPL_TRACELOG, */         ":%s 261 %s File %s %d",
/* 262 RPL_ENDOFTRACE, */       ":%s 262 %s %s :End of TRACE",
/* 263 RPL_LOAD2HI, */
":%s 263 %s :server load is temporarily too heavy, please try again later?",
/* 264 */       (char *)NULL,
/* 265 RPL_LOCALUSERS, */       ":%s 265 %s :Current local  users: %d  Max: %d",
/* 266 RPL_GLOBALUSERS, */      ":%s 266 %s :Current global users: %d  Max: %d",
/* 267 */       (char *)NULL,
/* 268 RPL_MODE */              ":%s 268 %s %s %s",
/* 269 RPL_ENDMODE */           ":%s 269 %s :End of %s mode list",
/* 270 */       (char *)NULL,
/* 271 RPL_SILELIST, */         ":%s 271 %s %s %s",
/* 272 RPL_ENDOFSILELIST, */    ":%s 272 %s :End of Silence List",
/* 273 */       (char *)NULL,
/* 274 */       (char *)NULL,
/* 275 */       (char *)NULL,
/* 276 */       (char *)NULL,
/* 277 */       (char *)NULL,
/* 278 */       (char *)NULL,
/* 279 */       (char *)NULL,
/* 280 */       (char *)NULL,
/* 281 */       (char *)NULL,
/* 282 */       (char *)NULL,
/* 283 */       (char *)NULL,
/* 284 */       (char *)NULL,
/* 285 */       (char *)NULL,
/* 286 */       (char *)NULL,
/* 287 */       (char *)NULL,
/* 288 */       (char *)NULL,
/* 289 */       (char *)NULL,
/* 290 RPL_CLIENTCAPAB */  ":%s 290 %s :%s",
/* 291 */       (char *)NULL,
/* 292 */       (char *)NULL,
/* 293 */       (char *)NULL,
/* 294 */       (char *)NULL,
/* 295 */       (char *)NULL,
/* 296 */       (char *)NULL,
/* 297 */       (char *)NULL,
/* 298 */       (char *)NULL,
/* 299 */       (char *)NULL,
/* 300 RPL_NONE, */     (char *)NULL,
/* 301 RPL_AWAY, */     ":%s 301 %s %s :%s",
/* 302 RPL_USERHOST, */  ":%s 302 %s :%s",
/* 303 RPL_ISON, */     ":%s 303 %s :",
/* 304 RPL_TEXT, */      (char *)NULL,
/* 305 RPL_UNAWAY, */   ":%s 305 %s :Does this mean you're really back?",
/* 306 RPL_NOWAWAY, */  ":%s 306 %s :We'll miss you",
/* 307 */       (char *)NULL,
/* 308 */       (char *)NULL,
/* 309 */       (char *)NULL,
/* 310 */       (char *)NULL,
/* 311 RPL_WHOISUSER, */        ":%s 311 %s %s %s %s * :%s",
/* 312 RPL_WHOISSERVER, */      ":%s 312 %s %s %s :%s",
/* 313 RPL_WHOISOPERATOR, */    ":%s 313 %s %s :is a flagged staff member",
/* 314 RPL_WHOWASUSER, */       ":%s 314 %s %s %s %s * :%s",
/* 315 RPL_ENDOFWHO, */         ":%s 315 %s %s :End of /WHO list.",
/* 316 RPL_WHOISCHANOP, */      (char *)NULL,
/* 317 RPL_WHOISIDLE, */        ":%s 317 %s %s %d %d :seconds idle, signon time",
/* 318 RPL_ENDOFWHOIS, */       ":%s 318 %s %s :End of /WHOIS list.",
/* 319 RPL_WHOISCHANNELS, */    ":%s 319 %s %s :%s",
/* 320 RPL_WHOISIDENTIFIED, */  ":%s 320 %s %s :is an identified user",
/* 321 RPL_LISTSTART, */        ":%s 321 %s Channel :Users  Name",
/* 322 RPL_LIST, */             ":%s 322 %s %s %d :%s",
/* 323 RPL_LISTEND, */          ":%s 323 %s :End of /LIST",
/* 324 RPL_CHANNELMODEIS, */    ":%s 324 %s %s %s %s",
/* 325 RPL_WHOISOPER_GOD */     ":%s 325 %s %s :is a deity of the small screen",
/* 326 RPL_WHOISOPER_PRIVS */   ":%s 326 %s %s :has oper privs: %s",
/* 327 RPL_WHOISREALHOST */     ":%s 327 %s %s %s %s %s %s :Real hostname/IP/nick, spoof host",
/* 328 */       (char *)NULL,
/* 329 RPL_CREATIONTIME, */     ":%s 329 %s %s %lu", 
/* 330 */       (char *)NULL,
/* 331 RPL_NOTOPIC, */          ":%s 331 %s %s :There isn't a topic.",
/* 332 RPL_TOPIC, */            ":%s 332 %s %s :%s",
#ifdef TOPIC_INFO
/* 333 RPL_TOPICWHOTIME, */     ":%s 333 %s %s %s %lu",
#else
/* 333 */       (char *)NULL,
#endif
/* 334 */       (char *)NULL,
/* 335 */       (char *)NULL,
/* 336 */       (char *)NULL,
/* 337 */       (char *)NULL,
/* 338 */       (char *)NULL,
/* 339 */       (char *)NULL,
/* 340 */       (char *)NULL,
/* 341 RPL_INVITING, */         ":%s 341 %s %s %s",
/* 342 RPL_SUMMONING, */ (char *)NULL,
/* 343 */       (char *)NULL,
/* 344 */       (char *)NULL,
/* 345 */       (char *)NULL,
/* 346 RPL_INVEXLIST */         ":%s 346 %s %s %s %s %lu",
/* 347 RPL_ENDOFINVEXLIST */    ":%s 347 %s %s :End of Channel Invite List",
#ifdef BAN_INFO
/* 348 RPL_EXCEPTLIST */        ":%s 348 %s %s %s %s %lu",
#else
/* 348 RPL_EXCEPTLIST */        ":%s 348 %s %s %s",
#endif
/* 349 RPL_ENDOFEXCEPTLIST */   ":%s 349 %s %s :End of Channel Exception List",
/* 350 */       (char *)NULL,
/* 351 RPL_VERSION, */          ":%s 351 %s %s(%s).%s %s :%s",
/* 352 RPL_WHOREPLY, */         ":%s 352 %s %s %s %s %s %s %s :%d %s",
/* 353 RPL_NAMREPLY, */         ":%s 353 %s %s",
/* 354 */       (char *)NULL,
/* 355 */       (char *)NULL,
/* 356 */       (char *)NULL,
/* 357 */       (char *)NULL,
/* 358 */       (char *)NULL,
/* 359 */       (char *)NULL,
/* 360 */       (char *)NULL,
/* 361 RPL_KILLDONE, */ (char *)NULL,
/* 362 RPL_CLOSING, */          ":%s 362 %s %s :Closed. Status = %d",
/* 363 RPL_CLOSEEND, */         ":%s 363 %s %d: Connections Closed",
/* 364 RPL_LINKS, */            ":%s 364 %s %s %s :%d %s",
/* 365 RPL_ENDOFLINKS, */       ":%s 365 %s %s :End of /LINKS list.",
/* 366 RPL_ENDOFNAMES, */       ":%s 366 %s %s :End of /NAMES list.",
#ifdef BAN_INFO
/* 367 RPL_BANLIST, */          ":%s 367 %s %s %s %s %lu",
#else
/* 367 RPL_BANLIST, */          ":%s 367 %s %s %s",
#endif
/* 368 RPL_ENDOFBANLIST, */     ":%s 368 %s %s :End of Channel Ban List",
/* 369 RPL_ENDOFWHOWAS, */      ":%s 369 %s %s :End of WHOWAS",
/* 370 */       (char *)NULL,
/* 371 RPL_INFO, */             ":%s 371 %s :%s",
/* 372 RPL_MOTD, */             ":%s 372 %s :- %s",
/* 373 RPL_INFOSTART, */        ":%s 373 %s :Server INFO",
/* 374 RPL_ENDOFINFO, */        ":%s 374 %s :End of /INFO list.",
/* 375 RPL_MOTDSTART, */        ":%s 375 %s :- %s Message of the Day - ",
/* 376 RPL_ENDOFMOTD, */        ":%s 376 %s :End of /MOTD command.",
/* 377 RPL_MAP, */              ":%s 377 %s :%s%s",
/* 378 RPL_ENDOFMAP */          ":%s 378 %s :End of /MAP list.",
/* 379 RPL_FORWARD */           ":%s 379 %s %s %s :Forwarding to another channel",
/* 380 */       (char *)NULL,
/* 381 RPL_YOUREOPER, */        ":%s 381 %s :You are now a deity, be nice or else!",
/* 382 RPL_REHASHING, */        ":%s 382 %s %s :Rehashing the server configuration files.",
/* 383 */       (char *)NULL,
/* 384 RPL_MYPORTIS, */         ":%s 384 %s %d :Port to local server is\r\n",
/* 385 RPL_NOTOPERANYMORE, */   (char *)NULL,
/* 386 */       (char *)NULL,
/* 387 */       (char *)NULL,
/* 388 */       (char *)NULL,
/* 389 */       (char *)NULL,
/* 390 */       (char *)NULL,
/* 391 RPL_TIME, */             ":%s 391 %s %s :%s",
/* 392 */       (char *)NULL,
/* 393 */       (char *)NULL,
/* 394 */       (char *)NULL,
/* 395 */       (char *)NULL,
/* 396 */       (char *)NULL,
/* 397 */       (char *)NULL,
/* 398 */       (char *)NULL,
/* 399 RPL_MESSAGE */           ":%s 399 %s %s :%s",
/* 400 */       (char *)NULL,
/* 401 ERR_NOSUCHNICK, */       ":%s 401 %s %s :No such nick/channel",
/* 402 ERR_NOSUCHSERVER, */     ":%s 402 %s %s :That server doesn't exist",
/* 403 ERR_NOSUCHCHANNEL, */    ":%s 403 %s %s :That channel doesn't exist",
/* 404 ERR_CANNOTSENDTOCHAN, */ ":%s 404 %s %s :The channel demigods have stolen your voice",
/* 405 ERR_TOOMANYCHANNELS, */  ":%s 405 %s %s :You can't join that many channels",
/* 406 ERR_WASNOSUCHNICK, */    ":%s 406 %s %s :There was no such nickname",
/* 407 ERR_TOOMANYTARGETS, */
                ":%s 407 %s %s :Too many recipients. Only %d processed",
/* 408 ERR_NOCOLORSTOCHAN, */   ":%s 408 %s %s :Cannot send messages with color highlighting to this channel",
/* 409 ERR_NOORIGIN, */         ":%s 409 %s :No origin specified",
/* 410 ERR_SERVICES_OFFLINE */  ":%s 410 %s :No services can currently be detected",
/* 411 ERR_NORECIPIENT, */      ":%s 411 %s :No recipient given (%s)",
/* 412 ERR_NOTEXTTOSEND, */     ":%s 412 %s :No text to send",
/* 413 ERR_NOTOPLEVEL, */       ":%s 413 %s %s :No toplevel domain specified",
/* 414 ERR_WILDTOPLEVEL, */     ":%s 414 %s %s :Wildcard in toplevel domain!",
/* 415 */       (char *)NULL,
/* 416 */       (char *)NULL,
/* 417 */       (char *)NULL,
/* 418 */       (char *)NULL,
/* 419 */       (char *)NULL,
/* 420 */       (char *)NULL,
/* 421 ERR_UNKNOWNCOMMAND, */   ":%s 421 %s %s :Unknown command",
/* 422 ERR_NOMOTD, */           ":%s 422 %s :MOTD File is missing",
/* 423 ERR_NOADMININFO, */      ":%s 423 %s %s :No administrative info available",
/* 424 ERR_FILEERROR, */        ":%s 424 %s :File error doing %s on %s",
/* 425 */       (char *)NULL,
/* 426 */       (char *)NULL,
/* 427 */       (char *)NULL,
/* 428 */       (char *)NULL,
/* 429 */       (char *)NULL,
/* 430 */       (char *)NULL,
/* 431 ERR_NONICKNAMEGIVEN, */  ":%s 431 %s :No nickname given",
/* 432 ERR_ERRONEUSNICKNAME, */ ":%s 432 %s %s :Erroneous Nickname",
/* 433 ERR_NICKNAMEINUSE, */    ":%s 433 %s %s :Nickname is already in use.",
/* 434 */       (char *)NULL,
/* 435 */       (char *)NULL,
/* 436 ERR_NICKCOLLISION, */    ":%s 436 %s %s :Nickname collision KILL",
/* 437 ERR_NOTAVAILABLE, */     ":%s 437 %s %s :Nick/channel is temporarily unavailable",
/* 438 ERR_BANNICKCHANGE */     ":%s 438 %s %s :The hand of the deity is upon thee, thy nick may not change (%s)",
/* 439 */       (char *)NULL,
/* 440 */       (char *)NULL,
/* 441 ERR_USERNOTINCHANNEL, */ ":%s 441 %s %s %s :They aren't on that channel",
/* 442 ERR_NOTONCHANNEL, */     ":%s 442 %s %s :You're not on that channel",
/* 443 ERR_USERONCHANNEL, */    ":%s 443 %s %s %s :is already on channel",
/* 444 ERR_NOLOGIN, */          ":%s 444 %s %s :User not logged in",
/* 445 ERR_SUMMONDISABLED, */   ":%s 445 %s :SUMMON has been removed",
/* 446 ERR_USERSDISABLED, */    ":%s 446 %s :USERS has been removed",
/* 447 ERR_TARGETNINVITE, */    ":%s 447 %s :User has opted not to receive INVITEs (umode +I)",
/* 448 ERR_SOURCENINVITE, */    ":%s 448 %s :You may not send INVITEs with umode +I set",
/* 449 */       (char *)NULL,
/* 450 */       (char *)NULL,
/* 451 ERR_NOTREGISTERED, */    ":%s 451 %s :You haven't registered yet",
/* 452 */       (char *)NULL,
/* 453 */       (char *)NULL,
/* 454 */       (char *)NULL,
/* 455 */       (char *)NULL,
/* 456 */       (char *)NULL,
/* 457 */       (char *)NULL,
/* 458 */       (char *)NULL,
/* 459 */       (char *)NULL,
/* 460 */       (char *)NULL,
/* 461 ERR_NEEDMOREPARAMS, */   ":%s 461 %s %s :Not enough parameters",
/* 462 ERR_ALREADYREGISTRED, */ ":%s 462 %s :Please register only once per session",
/* 463 ERR_NOPERMFORHOST, */    ":%s 463 %s :Your host isn't among the privileged",
/* 464 ERR_PASSWDMISMATCH, */   ":%s 464 %s :Hmmm, that wasn't the right password",
/* 465 ERR_YOUREBANNEDCREEP, */ ":%s 465 %s :You may not connect to this server: %s",
/* 466 ERR_YOUWILLBEBANNED, */  (char *)NULL,
/* 467 ERR_KEYSET, */           ":%s 467 %s %s :Channel key is already set",
/* 468 */       (char *)NULL,
/* 469 */       (char *)NULL,
/* 470 */       (char *)NULL,
/* 471 ERR_CHANNELISFULL, */    ":%s 471 %s %s :Channel is already full (+l)",
/* 472 ERR_UNKNOWNMODE  , */    ":%s 472 %s %c :is unknown mode char to me",
/* 473 ERR_INVITEONLYCHAN, */   ":%s 473 %s %s :You need to be invited to that channel",
/* 474 ERR_BANNEDFROMCHAN, */   ":%s 474 %s %s :You're banned from that channel",
/* 475 ERR_BADCHANNELKEY, */    ":%s 475 %s %s :You must specify the channel key (+k)",
/* 476 ERR_BADCHANMASK, */      ":%s 476 %s %s :Bad Channel Mask",
/* 477 ERR_MODELESS, */         ":%s 477 %s %s :Channel does not support modes",
/* 478 ERR_BANLISTFULL, */      ":%s 478 %s %s %s :Channel ban list is full",
/* 479 ERR_BADCHANNAME */       ":%s 479 %s %s :Illegal channel name",
/* 480 ERR_THROTTLED */         ":%s 480 %s %s :Cannot join channel (throttled)",
/* 481 ERR_NOPRIVILEGES, */
                ":%s 481 %s :You can't do that, you're no deity",
/* 482 ERR_CHANOPRIVSNEEDED, */ ":%s 482 %s %s :You need to be a channel operator to do that",
/* 483 ERR_CANTKILLSERVER, */   ":%s 483 %s :You can't actually kill an IRC server that way",
/* 484 */       (char *)NULL,
/* 485 ERR_USERISIMMUNE, */     ":%s 485 %s %s %s :User is immune from kick/deop",
/* 486 ERR_RESTRICTED */        ":%s 486 %s :You are restricted and cannot chanop others",
/* 487 ERR_NO_OP_STPLIT */      ":%s 487 %s :Due to a network split, you can not obtain channel operator status in a new channel at this time",
/* 488 ERR_NEED_UMODE */        ":%s 488 %s :You have no %c umode",
/* 489 */       (char *)NULL,
/* 490 */       (char *)NULL,
/* 491 ERR_NOOPERHOST, */       ":%s 491 %s :You don't have an O-line for the host you're on.",
/* 492 */       (char *)NULL,
/* 493 */       (char *)NULL,
/* 494 */       (char *)NULL,
/* 495 */       (char *)NULL,
/* 496 */       (char *)NULL,
/* 497 */       (char *)NULL,
/* 498 */       (char *)NULL,
/* 499 */       (char *)NULL,
/* 500 */       (char *)NULL,
/* 501 ERR_UMODEUNKNOWNFLAG, */ ":%s 501 %s :Unknown MODE flag",
/* 502 ERR_USERSDONTMATCH, */   ":%s 502 %s :You can't change someone else's modes",
/* 503 ERR_GHOSTEDCLIENT, */    ":%s 503 %s :Message could not be delivered to %s",
/* 504 */       (char *)NULL,
/* 505 ERR_BLOCKING_NOTID, */   ":%s 505 %s :%s is blocking messages from unidentified users.  You must register and identify with NickServ before talking to this user.",
/* 506 ERR_QUIETUNIDENT */      ":%s 506 %s %s :Please register with services and use the IDENTIFY command (/msg nickserv help) to speak in this channel",
/* 507 */       (char *)NULL,
/* 508 */       (char *)NULL,
/* 509 */       (char *)NULL,
/* 510 */       (char *)NULL,
/* 511 ERR_SILELISTFULL, */     ":%s 511 %s :Your silence list is full" ,
/* 512 ERR_MAXMAPNODES */       ":%s 512 %s :Maximum nodes for /MAP" ,
/* 513 ERR_MAXFORWARDING */     ":%s 513 %s :Maximum forwarding reached",
/* 514 ERR_NOFORWARDING */      ":%s 514 %s :Forwarding has not been enabled on this channel",
/* 515 ERR_NOUNIDENTIFIED, */   ":%s 515 %s %s :You need to be identified to join that channel",
/* 516 ERR_LAST_ERR_MSG, */     ":%s 516 %s :Last Error Message",
};


static const char* strings[] = {
/* 000 */       (char *)NULL,
/* 001 STR_BUGREPORT */         "Please report to the dancer team! dancer-devel@linuxfr.org",
/* 002 STR_BLK_BIT_CLEAR */     "blalloc.c bit already clear in map elemSize %d caller %s %d",
/* 003 STR_ADD_BAD_BAN_TYPE */  "add_id() called with unknown ban type %d!",
/* 004 STR_DEL_BAD_BAN_TYPE */  "del_id() called with unknown ban type %d!",
/* 005 STR_REMOTE_WILD_WHOIS */ "WTF: Remote wild WHOIS %s %s from %s",
/* 006 STR_NO_SERV */           "WTF: Server %s has no serv structure",
/* 007 STR_MISSED_UTIME */      "Got 2 TSPONGs but no UTIME during TSDELTA calculation",
/* 008 */       (char *)NULL,
/* 009 */       (char *)NULL,
/* 010 */       (char *)NULL,
/* 011 */       (char *)NULL,
/* 012 */       (char *)NULL,
/* 013 */       (char *)NULL,
/* 014 */       (char *)NULL,
/* 015 */       (char *)NULL,
/* 016 */       (char *)NULL,
/* 017 */       (char *)NULL,
/* 018 */       (char *)NULL,
/* 019 */       (char *)NULL,
/* 020 */       (char *)NULL,
/* 021 */       (char *)NULL,
/* 022 */       (char *)NULL,
/* 023 */       (char *)NULL,
/* 024 */       (char *)NULL,
/* 025 */       (char *)NULL,
/* 026 */       (char *)NULL,
/* 027 */       (char *)NULL,
/* 028 */       (char *)NULL,
/* 029 */       (char *)NULL,
/* 030 */       (char *)NULL,
/* 031 */       (char *)NULL,
/* 032 */       (char *)NULL,
/* 033 */       (char *)NULL,
/* 034 */       (char *)NULL,
/* 035 */       (char *)NULL,
/* 036 */       (char *)NULL,
/* 037 */       (char *)NULL,
/* 038 */       (char *)NULL,
/* 039 */       (char *)NULL,
/* 040 */       (char *)NULL,
/* 041 */       (char *)NULL,
/* 042 */       (char *)NULL,
/* 043 */       (char *)NULL,
/* 044 */       (char *)NULL,
/* 045 */       (char *)NULL,
/* 046 */       (char *)NULL,
/* 047 */       (char *)NULL,
/* 048 */       (char *)NULL,
/* 049 */       (char *)NULL,
/* 050 */       (char *)NULL,
/* 051 */       (char *)NULL,
/* 052 */       (char *)NULL,
/* 053 */       (char *)NULL,
/* 054 */       (char *)NULL,
/* 055 */       (char *)NULL,
/* 056 */       (char *)NULL,
/* 057 */       (char *)NULL,
/* 058 */       (char *)NULL,
/* 059 */       (char *)NULL,
/* 060 */       (char *)NULL,
/* 061 */       (char *)NULL,
/* 062 */       (char *)NULL,
/* 063 */       (char *)NULL,
/* 064 */       (char *)NULL,
/* 065 */       (char *)NULL,
/* 066 */       (char *)NULL,
/* 067 */       (char *)NULL,
/* 068 */       (char *)NULL,
/* 069 */       (char *)NULL,
/* 070 */       (char *)NULL,
/* 071 */       (char *)NULL,
/* 072 */       (char *)NULL,
/* 073 */       (char *)NULL,
/* 074 */       (char *)NULL,
/* 075 */       (char *)NULL,
/* 076 */       (char *)NULL,
/* 077 */       (char *)NULL,
/* 078 */       (char *)NULL,
/* 079 */       (char *)NULL,
/* 080 */       (char *)NULL,
/* 081 */       (char *)NULL,
/* 082 */       (char *)NULL,
/* 083 */       (char *)NULL,
/* 084 */       (char *)NULL,
/* 085 */       (char *)NULL,
/* 086 */       (char *)NULL,
/* 087 */       (char *)NULL,
/* 088 */       (char *)NULL,
/* 089 */       (char *)NULL,
/* 090 */       (char *)NULL,
/* 091 */       (char *)NULL,
/* 092 */       (char *)NULL,
/* 093 */       (char *)NULL,
/* 094 */       (char *)NULL,
/* 095 */       (char *)NULL,
/* 096 */       (char *)NULL,
/* 097 */       (char *)NULL,
/* 098 */       (char *)NULL,
/* 099 */       (char *)NULL,
/* 100 STR_TRY_JOIN_JUPE */     "User %s (%s@%s) is attempting to join juped channel %s",
/* 101 */       (char *)NULL,
/* 102 STR_SPLIT_MODE_OFF */    "Net rejoined, split-mode deactivated, whew",
/* 103 STR_BOT_WARN */          "User %s (%s@%s) is a possible spambot",
/* 104 STR_BOT_WARN_JOIN */     "User %s (%s@%s) trying to join %s is a possible spambot",
/* 105  */      (char *)NULL,
/* 106 STR_TSDELTA_ME */        ":%s NOTICE %s :Time delta from me to myself is 0 (oddly)",
/* 107 STR_TSDELTA_SPY */       "%s requested TSDELTA calculation with %s",
/* 108 STR_TSDELTA_RUNNING */   ":%s NOTICE %s :Already processing a TSDELTA for %s",
/* 109 STR_TSDELTA */           "Delta to %s is roughly %d ms",
/* 110 STR_YOUREBANNED */       ":%s NOTICE %s :*** Banned: " \
         "Your IP has been temporarily restricted from access. " \
         "Please email staff@freenode.net for more information.",
/* 111 */       (char *)NULL,
/* 112 */       (char *)NULL,
/* 113 */       (char *)NULL,
/* 114 */       (char *)NULL,
/* 115 */       (char *)NULL,
/* 116 */       (char *)NULL,
/* 117 */       (char *)NULL,
/* 118 */       (char *)NULL,
/* 119 */       (char *)NULL,
/* 120 */       (char *)NULL,
/* 121 */       (char *)NULL,
/* 122 */       (char *)NULL,
/* 123 */       (char *)NULL,
/* 124 */       (char *)NULL,
/* 125 */       (char *)NULL,
/* 126 */       (char *)NULL,
/* 127 */       (char *)NULL,
/* 128 */       (char *)NULL,
/* 129 */       (char *)NULL,
/* 130 */       (char *)NULL,
/* 131 */       (char *)NULL,
/* 132 */       (char *)NULL,
/* 133 */       (char *)NULL,
/* 134 */       (char *)NULL,
/* 135 */       (char *)NULL,
/* 136 */       (char *)NULL,
/* 137 */       (char *)NULL,
/* 138 */       (char *)NULL,
/* 139 */       (char *)NULL,
/* 140 */       (char *)NULL,
/* 141 */       (char *)NULL,
/* 142 */       (char *)NULL,
/* 143 */       (char *)NULL,
/* 144 */       (char *)NULL,
/* 145 */       (char *)NULL,
/* 146 */       (char *)NULL,
/* 147 */       (char *)NULL,
/* 148 */       (char *)NULL,
/* 149 */       (char *)NULL,
/* 150 */       (char *)NULL,
/* 151 */       (char *)NULL,
/* 152 */       (char *)NULL,
/* 153 */       (char *)NULL,
/* 154 */       (char *)NULL,
/* 155 */       (char *)NULL,
/* 156 */       (char *)NULL,
/* 157 */       (char *)NULL,
/* 158 */       (char *)NULL,
/* 159 */       (char *)NULL,
/* 160 */       (char *)NULL,
/* 161 */       (char *)NULL,
/* 162 */       (char *)NULL,
/* 163 */       (char *)NULL,
/* 164 */       (char *)NULL,
/* 165 */       (char *)NULL,
/* 166 */       (char *)NULL,
/* 167 */       (char *)NULL,
/* 168 */       (char *)NULL,
/* 169 */       (char *)NULL,
/* 170 */       (char *)NULL,
/* 171 */       (char *)NULL,
/* 172 */       (char *)NULL,
/* 173 */       (char *)NULL,
/* 174 */       (char *)NULL,
/* 175 */       (char *)NULL,
/* 176 */       (char *)NULL,
/* 177 */       (char *)NULL,
/* 178 */       (char *)NULL,
/* 179 */       (char *)NULL,
/* 180 */       (char *)NULL,
/* 181 */       (char *)NULL,
/* 182 */       (char *)NULL,
/* 183 */       (char *)NULL,
/* 184 */       (char *)NULL,
/* 185 */       (char *)NULL,
/* 186 */       (char *)NULL,
/* 187 */       (char *)NULL,
/* 188 */       (char *)NULL,
/* 189 */       (char *)NULL,
/* 190 */       (char *)NULL,
/* 191 */       (char *)NULL,
/* 192 */       (char *)NULL,
/* 193 */       (char *)NULL,
/* 194 */       (char *)NULL,
/* 195 */       (char *)NULL,
/* 196 */       (char *)NULL,
/* 197 */       (char *)NULL,
/* 198 */       (char *)NULL,
/* 199 */       (char *)NULL,
/* 200 */       (char *)NULL,
/* 201 */       (char *)NULL,
/* 202 */       (char *)NULL,
/* 203 */       (char *)NULL,
/* 204 */       (char *)NULL,
/* 205 */       (char *)NULL,
/* 206 */       (char *)NULL,
/* 207 */       (char *)NULL,
/* 208 */       (char *)NULL,
/* 209 */       (char *)NULL,
/* 210 */       (char *)NULL,
/* 211 */       (char *)NULL,
/* 212 */       (char *)NULL,
/* 213 */       (char *)NULL,
/* 214 */       (char *)NULL,
/* 215 */       (char *)NULL,
/* 216 */       (char *)NULL,
/* 217 */       (char *)NULL,
/* 218 */       (char *)NULL,
/* 219 */       (char *)NULL,
/* 220 */       (char *)NULL,
/* 221 */       (char *)NULL,
/* 222 */       (char *)NULL,
/* 223 */       (char *)NULL,
/* 224 */       (char *)NULL,
/* 225 */       (char *)NULL,
/* 226 */       (char *)NULL,
/* 227 */       (char *)NULL,
/* 228 */       (char *)NULL,
/* 229 */       (char *)NULL,
/* 230 */       (char *)NULL,
/* 231 */       (char *)NULL,
/* 232 */       (char *)NULL,
/* 233 */       (char *)NULL,
/* 234 */       (char *)NULL,
/* 235 */       (char *)NULL,
/* 236 */       (char *)NULL,
/* 237 */       (char *)NULL,
/* 238 */       (char *)NULL,
/* 239 */       (char *)NULL,
/* 240 */       (char *)NULL,
/* 241 */       (char *)NULL,
/* 242 */       (char *)NULL,
/* 243 */       (char *)NULL,
/* 244 */       (char *)NULL,
/* 245 */       (char *)NULL,
/* 246 */       (char *)NULL,
/* 247 */       (char *)NULL,
/* 248 */       (char *)NULL,
/* 249 */       (char *)NULL,
/* 250 */       (char *)NULL,
/* 251 */       (char *)NULL,
/* 252 */       (char *)NULL,
/* 253 */       (char *)NULL,
/* 254 */       (char *)NULL,
/* 255 */       (char *)NULL,
/* 256 */       (char *)NULL,
/* 257 */       (char *)NULL,
/* 258 */       (char *)NULL,
/* 259 */       (char *)NULL,
/* 260 */       (char *)NULL,
/* 261 */       (char *)NULL,
/* 262 */       (char *)NULL,
/* 263 */       (char *)NULL,
/* 264 */       (char *)NULL,
/* 265 */       (char *)NULL,
/* 266 */       (char *)NULL,
/* 267 */       (char *)NULL,
/* 268 */       (char *)NULL,
/* 269 */       (char *)NULL,
/* 270 */       (char *)NULL,
/* 271 */       (char *)NULL,
/* 272 */       (char *)NULL,
/* 273 */       (char *)NULL,
/* 274 */       (char *)NULL,
/* 275 */       (char *)NULL,
/* 276 */       (char *)NULL,
/* 277 */       (char *)NULL,
/* 278 */       (char *)NULL,
/* 279 */       (char *)NULL,
/* 280 */       (char *)NULL,
/* 281 */       (char *)NULL,
/* 282 */       (char *)NULL,
/* 283 */       (char *)NULL,
/* 284 */       (char *)NULL,
/* 285 */       (char *)NULL,
/* 286 */       (char *)NULL,
/* 287 */       (char *)NULL,
/* 288 */       (char *)NULL,
/* 289 */       (char *)NULL,
/* 290 */       (char *)NULL,
/* 291 */       (char *)NULL,
/* 292 */       (char *)NULL,
/* 293 */       (char *)NULL,
/* 294 */       (char *)NULL,
/* 295 */       (char *)NULL,
/* 296 */       (char *)NULL,
/* 297 */       (char *)NULL,
/* 298 */       (char *)NULL,
/* 299 */       (char *)NULL,
/* 300 */       (char *)NULL,
/* 301 */       (char *)NULL,
/* 302 */       (char *)NULL,
/* 303 */       (char *)NULL,
/* 304 */       (char *)NULL,
/* 305 */       (char *)NULL,
/* 306 */       (char *)NULL,
/* 307 */       (char *)NULL,
/* 308 */       (char *)NULL,
/* 309 */       (char *)NULL,
/* 310 */       (char *)NULL,
/* 311 */       (char *)NULL,
/* 312 */       (char *)NULL,
/* 313 */       (char *)NULL,
/* 314 */       (char *)NULL,
/* 315 */       (char *)NULL,
/* 316 */       (char *)NULL,
/* 317 */       (char *)NULL,
/* 318 */       (char *)NULL,
/* 319 */       (char *)NULL,
/* 320 */       (char *)NULL,
/* 321 */       (char *)NULL,
/* 322 */       (char *)NULL,
/* 323 */       (char *)NULL,
/* 324 */       (char *)NULL,
/* 325 */       (char *)NULL,
/* 326 */       (char *)NULL,
/* 327 */       (char *)NULL,
/* 328 */       (char *)NULL,
/* 329 */       (char *)NULL,
/* 330 */       (char *)NULL,
/* 331 */       (char *)NULL,
/* 332 */       (char *)NULL,
/* 333 */       (char *)NULL,
/* 334 */       (char *)NULL,
/* 335 */       (char *)NULL,
/* 336 */       (char *)NULL,
/* 337 */       (char *)NULL,
/* 338 */       (char *)NULL,
/* 339 */       (char *)NULL,
/* 340 */       (char *)NULL,
/* 341 */       (char *)NULL,
/* 342 */       (char *)NULL,
/* 343 */       (char *)NULL,
/* 344 */       (char *)NULL,
/* 345 */       (char *)NULL,
/* 346 */       (char *)NULL,
/* 347 */       (char *)NULL,
/* 348 */       (char *)NULL,
/* 349 */       (char *)NULL,
/* 350 */       (char *)NULL,
/* 351 */       (char *)NULL,
/* 352 */       (char *)NULL,
/* 353 */       (char *)NULL,
/* 354 */       (char *)NULL,
/* 355 */       (char *)NULL,
/* 356 */       (char *)NULL,
/* 357 */       (char *)NULL,
/* 358 */       (char *)NULL,
/* 359 */       (char *)NULL,
/* 360 */       (char *)NULL,
/* 361 */       (char *)NULL,
/* 362 */       (char *)NULL,
/* 363 */       (char *)NULL,
/* 364 */       (char *)NULL,
/* 365 */       (char *)NULL,
/* 366 */       (char *)NULL,
/* 367 */       (char *)NULL,
/* 368 */       (char *)NULL,
/* 369 */       (char *)NULL,
/* 370 */       (char *)NULL,
/* 371 */       (char *)NULL,
/* 372 */       (char *)NULL,
/* 373 */       (char *)NULL,
/* 374 */       (char *)NULL,
/* 375 */       (char *)NULL,
/* 376 */       (char *)NULL,
/* 377 */       (char *)NULL,
/* 378 */       (char *)NULL,
/* 379 */       (char *)NULL,
/* 380 */       (char *)NULL,
/* 381 */       (char *)NULL,
/* 382 */       (char *)NULL,
/* 383 */       (char *)NULL,
/* 384 */       (char *)NULL,
/* 385 */       (char *)NULL,
/* 386 */       (char *)NULL,
/* 387 */       (char *)NULL,
/* 388 */       (char *)NULL,
/* 389 */       (char *)NULL,
/* 390 */       (char *)NULL,
/* 391 */       (char *)NULL,
/* 392 */       (char *)NULL,
/* 393 */       (char *)NULL,
/* 394 */       (char *)NULL,
/* 395 */       (char *)NULL,
/* 396 */       (char *)NULL,
/* 397 */       (char *)NULL,
/* 398 */       (char *)NULL,
/* 399 */       (char *)NULL,
/* 400 */       (char *)NULL,
/* 401 */       (char *)NULL,
/* 402 */       (char *)NULL,
/* 403 */       (char *)NULL,
/* 404 */       (char *)NULL,
/* 405 */       (char *)NULL,
/* 406 */       (char *)NULL,
/* 407 */       (char *)NULL,
/* 408 */       (char *)NULL,
/* 409 */       (char *)NULL,
/* 410 */       (char *)NULL,
/* 411 */       (char *)NULL,
/* 412 */       (char *)NULL,
/* 413 */       (char *)NULL,
/* 414 */       (char *)NULL,
/* 415 */       (char *)NULL,
/* 416 */       (char *)NULL,
/* 417 */       (char *)NULL,
/* 418 */       (char *)NULL,
/* 419 */       (char *)NULL,
/* 420 */       (char *)NULL,
/* 421 */       (char *)NULL,
/* 422 */       (char *)NULL,
/* 423 */       (char *)NULL,
/* 424 */       (char *)NULL,
/* 425 */       (char *)NULL,
/* 426 */       (char *)NULL,
/* 427 */       (char *)NULL,
/* 428 */       (char *)NULL,
/* 429 */       (char *)NULL,
/* 430 */       (char *)NULL,
/* 431 */       (char *)NULL,
/* 432 */       (char *)NULL,
/* 433 */       (char *)NULL,
/* 434 */       (char *)NULL,
/* 435 */       (char *)NULL,
/* 436 */       (char *)NULL,
/* 437 */       (char *)NULL,
/* 438 */       (char *)NULL,
/* 439 */       (char *)NULL,
/* 440 */       (char *)NULL,
/* 441 */       (char *)NULL,
/* 442 */       (char *)NULL,
/* 443 */       (char *)NULL,
/* 444 */       (char *)NULL,
/* 445 */       (char *)NULL,
/* 446 */       (char *)NULL,
/* 447 */       (char *)NULL,
/* 448 */       (char *)NULL,
/* 449 */       (char *)NULL,
/* 450 */       (char *)NULL,
/* 451 */       (char *)NULL,
/* 452 */       (char *)NULL,
/* 453 */       (char *)NULL,
/* 454 */       (char *)NULL,
/* 455 */       (char *)NULL,
/* 456 */       (char *)NULL,
/* 457 */       (char *)NULL,
/* 458 */       (char *)NULL,
/* 459 */       (char *)NULL,
/* 460 */       (char *)NULL,
/* 461 */       (char *)NULL,
/* 462 */       (char *)NULL,
/* 463 */       (char *)NULL,
/* 464 */       (char *)NULL,
/* 465 */       (char *)NULL,
/* 466 */       (char *)NULL,
/* 467 */       (char *)NULL,
/* 468 */       (char *)NULL,
/* 469 */       (char *)NULL,
/* 470 */       (char *)NULL,
/* 471 */       (char *)NULL,
/* 472 */       (char *)NULL,
/* 473 */       (char *)NULL,
/* 474 */       (char *)NULL,
/* 475 */       (char *)NULL,
/* 476 */       (char *)NULL,
/* 477 */       (char *)NULL,
/* 478 */       (char *)NULL,
/* 479 */       (char *)NULL,
/* 480 */       (char *)NULL,
/* 481 */       (char *)NULL,
/* 482 */       (char *)NULL,
/* 483 */       (char *)NULL,
/* 484 */       (char *)NULL,
/* 485 */       (char *)NULL,
/* 486 */       (char *)NULL,
/* 487 */       (char *)NULL,
/* 488 */       (char *)NULL,
/* 489 */       (char *)NULL,
/* 490 */       (char *)NULL,
/* 491 */       (char *)NULL,
/* 492 */       (char *)NULL,
/* 493 */       (char *)NULL,
/* 494 */       (char *)NULL,
/* 495 */       (char *)NULL,
/* 496 */       (char *)NULL,
/* 497 */       (char *)NULL,
/* 498 */       (char *)NULL,
/* 499 */       (char *)NULL,
/* 500 */       (char *)NULL,
/* 501 */       (char *)NULL,
/* 502 */       (char *)NULL,
/* 503 */       (char *)NULL,
/* 504 */       (char *)NULL,
/* 505 */       (char *)NULL,
/* 506 */       (char *)NULL,
/* 507 */       (char *)NULL,
/* 508 */       (char *)NULL,
/* 509 */       (char *)NULL,
/* 510 */       (char *)NULL,
/* 511 */       (char *)NULL,
};

static char numbuff[512];

const char *
form_str(int numeric)
{
  assert(-1 < numeric);
  assert(numeric < ERR_LAST_ERR_MSG);
  assert(replies[numeric] != NULL);
  
  /* XXX eek these were meant to be dummy entries in message.tab for now... */

  if ((numeric < 0) || (numeric > ERR_LAST_ERR_MSG))
    {
      ircsnprintf(numbuff, 512, ":%%s %d %%s :INTERNAL ERROR: BAD NUMERIC! %d",
              numeric, numeric);
      return numbuff;
    }
  
  if (replies[numeric] == NULL)
    {
      ircsnprintf(numbuff, 512, ":%%s %d %%s :NO ERROR FOR NUMERIC ERROR %d",
              numeric, numeric);
      return numbuff;
    }

  return replies[numeric];
}

const char *
get_str(int numeric)
{

  assert(-1 < numeric);
  assert(numeric < ERR_LAST_ERR_MSG);
  assert(0 != strings[numeric]);

  return strings[numeric];
}

Generated by  Doxygen 1.6.0   Back to index