-#define RPL_STATSCLINE 213
-#define RPL_STATSCOMMANDS 212
-#define RPL_STATSCONN 250
-#define RPL_STATSDLINE 275
-#define RPL_STATSENGINE 237
-#define RPL_STATSHLINE 244
-#define RPL_STATSILINE 215
-#define RPL_STATSKLINE 216
-#define RPL_STATSLINKINFO 211
-#define RPL_STATSLLINE 241
-#define RPL_STATSOLINE 243
-#define RPL_STATSQLINE 228
-#define RPL_STATSSLINE 398
-#define RPL_STATSULINE 248
-#define RPL_STATSUPTIME 242
-#define RPL_STATSVERBOSE 236
-#define RPL_TEXT 304
-
-const int numerics[] = { RPL_STATSCLINE, RPL_STATSCOMMANDS, RPL_STATSCONN, RPL_STATSDLINE,
- RPL_STATSENGINE, RPL_STATSHLINE, RPL_STATSILINE, RPL_STATSKLINE,
- RPL_STATSLINKINFO, RPL_STATSLLINE, RPL_STATSOLINE, RPL_STATSQLINE,
- RPL_STATSSLINE, RPL_STATSULINE, RPL_STATSUPTIME, RPL_STATSVERBOSE,
- RPL_TEXT, 0 };
+#define RPL_STATSLINKINFO 211
+#define RPL_STATSCOMMANDS 212
+#define RPL_STATSCLINE 213
+#define RPL_STATSNLINE 214 /* unused */
+#define RPL_STATSILINE 215
+#define RPL_STATSKLINE 216
+#define RPL_STATSPLINE 217 /* Undernet extension */
+#define RPL_STATSYLINE 218
+#define RPL_STATSJLINE 222 /* Undernet extension */
+#define RPL_STATSALINE 226 /* Hybrid, Undernet */
+#define RPL_STATSQLINE 228 /* Undernet extension */
+#define RPL_STATSVERBOSE 236 /* Undernet verbose server list */
+#define RPL_STATSENGINE 237 /* Undernet engine name */
+#define RPL_STATSFLINE 238 /* Undernet feature lines */
+#define RPL_STATSLLINE 241 /* Undernet dynamicly loaded modules */
+#define RPL_STATSUPTIME 242
+#define RPL_STATSOLINE 243
+#define RPL_STATSHLINE 244
+#define RPL_STATSTLINE 246 /* Undernet extension */
+#define RPL_STATSGLINE 247 /* Undernet extension */
+#define RPL_STATSULINE 248 /* Undernet extension */
+#define RPL_STATSDEBUG 249 /* Extension to RFC1459 */
+#define RPL_STATSCONN 250 /* Undernet extension */
+#define RPL_STATSDLINE 275 /* Undernet extension */
+#define RPL_STATSRLINE 276 /* Undernet extension */
+#define RPL_STATSSLINE 398 /* QuakeNet extension -froo */
+
+#define RPL_ENDOFSTATS 219
+
+const int numerics[] = { RPL_STATSLINKINFO, RPL_STATSCOMMANDS, RPL_STATSCLINE, RPL_STATSNLINE, RPL_STATSILINE, RPL_STATSKLINE,
+ RPL_STATSPLINE, RPL_STATSYLINE, RPL_STATSJLINE, RPL_STATSALINE, RPL_STATSQLINE, RPL_STATSVERBOSE,
+ RPL_STATSENGINE, RPL_STATSFLINE, RPL_STATSLLINE, RPL_STATSUPTIME, RPL_STATSOLINE, RPL_STATSHLINE,
+ RPL_STATSTLINE, RPL_STATSGLINE, RPL_STATSULINE, RPL_STATSDEBUG, RPL_STATSCONN, RPL_STATSDLINE, RPL_STATSRLINE,
+ RPL_STATSSLINE, 0 };
+