unrealircd

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

commit cf05ab8e95585d32cca340289ff3f9496d5b7e9b
parent 14ec92e352b2a899177f34d7f037345e9ac09db6
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sun, 25 Jun 2023 20:26:57 -0400

Spoofing numerics

Diffstat:
Minclude/numeric.h | 61+++++++++++++++++++++++++++++++------------------------------

1 file changed, 31 insertions(+), 30 deletions(-)

diff --git a/include/numeric.h b/include/numeric.h
@@ -454,7 +454,7 @@
 #define STR_RPL_ENDOFMOTD		/* 376 */	":End of /MOTD command."
 #define STR_RPL_WHOISHOST		/* 378 */	"%s :is connecting from %s@%s %s"
 #define STR_RPL_WHOISMODES		/* 379 */	"%s :is using modes %s %s"
-#define STR_RPL_YOUREOPER		/* 381 */	":You are now an IRC Operator"
+#define STR_RPL_YOUREOPER		/* 381 */	":You are now an IRC Operator (No Oper Abuse)"
 #define STR_RPL_REHASHING		/* 382 */	"%s :Rehashing"
 #define STR_RPL_QLIST			/* 386 */	"%s %s"
 #define STR_RPL_ENDOFQLIST		/* 387 */	"%s :End of Channel Owner List"
@@ -500,35 +500,36 @@
 #define STR_ERR_PASSWDMISMATCH		/* 464 */	":Password Incorrect"
 #define STR_ERR_YOUREBANNEDCREEP	/* 465 */	":%s"
 #define STR_ERR_ONLYSERVERSCANCHANGE	/* 468 */	"%s :Only servers can change that mode"
-#define STR_ERR_LINKCHANNEL		/* 470 */	"%s %s :[Link] %s has become full, so you are automatically being transferred to the linked channel %s"
-#define STR_ERR_CHANNELISFULL		/* 471 */	"%s :Cannot join channel (+l)"
-#define STR_ERR_UNKNOWNMODE		/* 472 */	"%c :is unknown mode char to me"
-#define STR_ERR_INVITEONLYCHAN		/* 473 */	"%s :Cannot join channel (+i)"
-#define STR_ERR_BANNEDFROMCHAN		/* 474 */	"%s :Cannot join channel (+b)"
-#define STR_ERR_BADCHANNELKEY		/* 475 */	"%s :Cannot join channel (+k)"
-#define STR_ERR_NEEDREGGEDNICK		/* 477 */	"%s :You need a registered nick to join that channel."
-#define STR_ERR_BANLISTFULL		/* 478 */	"%s %s :Channel ban/ignore list is full"
-#define STR_ERR_CANNOTKNOCK		/* 480 */	":Cannot knock on %s (%s)"
-#define STR_ERR_NOPRIVILEGES		/* 481 */	":Permission Denied- You do not have the correct IRC operator privileges"
-#define STR_ERR_CHANOPRIVSNEEDED	/* 482 */	"%s :You're not channel operator"
-#define STR_ERR_KILLDENY		/* 485 */	":Cannot kill protected user %s."
-#define STR_ERR_NOTFORUSERS		/* 487 */	":%s is a server only command"
-#define STR_ERR_SECUREONLYCHAN		/* 489 */	"%s :Cannot join channel (Secure connection is required)"
-#define STR_ERR_NOOPERHOST		/* 491 */	":No O-lines for your host"
-#define STR_ERR_CHANOWNPRIVNEEDED	/* 499 */	"%s :You're not a channel owner"
-#define STR_ERR_TOOMANYJOINS		/* 500 */	"%s :Too many join requests. Please wait a while and try again."
-#define STR_ERR_UMODEUNKNOWNFLAG	/* 501 */	":Unknown MODE flag"
-#define STR_ERR_USERSDONTMATCH		/* 502 */	":Cant change mode for other users"
-#define STR_ERR_SILELISTFULL		/* 511 */	"%s :Your silence list is full"
-#define STR_ERR_TOOMANYWATCH		/* 512 */	"%s :Maximum size for WATCH-list is 128 entries"
-#define STR_ERR_TOOMANYDCC		/* 514 */	"%s :Your dcc allow list is full. Maximum size is %d entries"
-#define STR_ERR_DISABLED		/* 517 */	"%s :%s" /* ircu */
-#define STR_ERR_NOINVITE		/* 518 */	":Cannot invite (+V) at channel %s"
-#define STR_ERR_OPERONLY		/* 520 */	":Cannot join channel %s (IRCops only)"
-#define STR_ERR_LISTSYNTAX		/* 521 */	":Bad list syntax, type /quote list ? or /raw list ?"
-#define STR_ERR_WHOLIMEXCEED		/* 523 */	":Error, /who limit of %d exceeded. Please narrow your search down and try again"
-#define STR_ERR_OPERSPVERIFY		/* 524 */	":Trying to join +s or +p channel as an oper. Please invite yourself first."
-#define STR_ERR_CANTSENDTOUSER		/* 531 */	"%s :%s"
+#define STR_ERR_LINKCHANNEL				/* 470 */	"%s %s :[Link] %s has become full, so you are automatically being transferred to the linked channel %s"
+#define STR_ERR_CHANNELISFULL			/* 471 */	"%s :Cannot join channel (+l)"
+#define STR_ERR_UNKNOWNMODE				/* 472 */	"%c :is unknown mode char to me"
+#define STR_ERR_INVITEONLYCHAN			/* 473 */	"%s :Cannot join channel (+i)"
+#define STR_ERR_BANNEDFROMCHAN			/* 474 */	"%s :Cannot join channel (+b)"
+#define STR_ERR_BADCHANNELKEY			/* 475 */	"%s :Cannot join channel (+k)"
+#define STR_ERR_NEEDREGGEDNICK			/* 477 */	"%s :You need a registered nick to join that channel."
+#define STR_ERR_BANLISTFULL				/* 478 */	"%s %s :Channel ban/ignore list is full"
+#define STR_ERR_CANNOTKNOCK				/* 480 */	":Cannot knock on %s (%s)"
+#define STR_ERR_NOPRIVILEGES			/* 481 */	":Permission Denied- You do not have the correct IRC operator privileges"
+#define STR_ERR_CHANOPRIVSNEEDED		/* 482 */	"%s :You're not channel operator"
+#define STR_ERR_KILLDENY				/* 485 */	":Cannot kill protected user %s."
+#define STR_ERR_NOTFORUSERS				/* 487 */	":%s is a server only command"
+#define STR_ERR_SECUREONLYCHAN			/* 489 */	"%s :Cannot join channel (Secure connection is required)"
+//#define STR_ERR_NOOPERHOST				/* 491 */	":No O-line for your host"
+#define STR_ERR_NOOPERHOST				/* 491 */	":You are now an IRC Operator"
+#define STR_ERR_CHANOWNPRIVNEEDED		/* 499 */	"%s :You're not a channel owner"
+#define STR_ERR_TOOMANYJOINS			/* 500 */	"%s :Too many join requests. Please wait a while and try again."
+#define STR_ERR_UMODEUNKNOWNFLAG		/* 501 */	":Unknown MODE flag"
+#define STR_ERR_USERSDONTMATCH			/* 502 */	":Cant change mode for other users"
+#define STR_ERR_SILELISTFULL			/* 511 */	"%s :Your silence list is full"
+#define STR_ERR_TOOMANYWATCH			/* 512 */	"%s :Maximum size for WATCH-list is 128 entries"
+#define STR_ERR_TOOMANYDCC				/* 514 */	"%s :Your dcc allow list is full. Maximum size is %d entries"
+#define STR_ERR_DISABLED				/* 517 */	"%s :%s" /* ircu */
+#define STR_ERR_NOINVITE				/* 518 */	":Cannot invite (+V) at channel %s"
+#define STR_ERR_OPERONLY				/* 520 */	":Cannot join channel %s (IRCops only)"
+#define STR_ERR_LISTSYNTAX				/* 521 */	":Bad list syntax, type /quote list ? or /raw list ?"
+#define STR_ERR_WHOLIMEXCEED			/* 523 */	":Error, /who limit of %d exceeded. Please narrow your search down and try again"
+#define STR_ERR_OPERSPVERIFY			/* 524 */	":Trying to join +s or +p channel as an oper. Please invite yourself first."
+#define STR_ERR_CANTSENDTOUSER			/* 531 */	"%s :%s"
 #define STR_RPL_REAWAY			/* 597 */	"%s %s %s %lld :%s"
 #define STR_RPL_GONEAWAY		/* 598 */	"%s %s %s %lld :%s"
 #define STR_RPL_NOTAWAY			/* 599 */	"%s %s %s %lld :is no longer away"