REBRAND: Schimbăm 'Nefarious' în 'UnderChat' - Host hiding prefix + Network name
PROBLEMA: - Hostname-urile afișau: iRO@Nefarious-2F378ED1.eushells.ro - Prefixul 'Nefarious-' trebuia schimbat în 'UnderChat-' - Network name era 'Nefarious' în loc de 'UnderChat' MODIFICĂRI: 1. ircd/ircd_features.c: - HOST_HIDING_PREFIX: 'Nefarious' → 'UnderChat' - HIDDEN_HOST: 'Users.Nefarious' → 'Users.UnderChat' - HIDDEN_OPERHOST: 'Staff.Nefarious' → 'Staff.UnderChat' - HIS_SERVERNAME: '*.Nefarious' → '*.UnderChat' - NETWORK: 'Nefarious' → 'UnderChat' - Comentarii actualizate 2. ircd/m_help.c: - 'Nefarious Help System' → 'UnderChat Help System' 3. include/ircd_features.h: - Comentarii actualizate: 'Nefarious' → 'UnderChat' 4. include/numeric.h: - Comentarii actualizate: 'Nefarious extension' → 'UnderChat extension' REZULTAT: ÎNAINTE: iRO@Nefarious-2F378ED1.eushells.ro DUPĂ: iRO@UnderChat-2F378ED1.eushells.ro ✅ Network name: UnderChat ✅ Host hiding prefix: UnderChat- ✅ Hidden host: Users.UnderChat ✅ Oper hidden host: Staff.UnderChat ✅ Help system: UnderChat Help System NOTA: Necesită RECOMPILARE pentru a aplica modificările!
This commit is contained in:
parent
6254bf8d2f
commit
2e686c8034
|
|
@ -158,7 +158,7 @@ enum Feature {
|
|||
FEAT_URL_CLIENTS,
|
||||
FEAT_URLREG,
|
||||
|
||||
/* Nefarious FEAT_'s */
|
||||
/* UnderChat FEAT_'s */
|
||||
FEAT_CHECK,
|
||||
FEAT_CHECK_EXTENDED,
|
||||
FEAT_MAX_CHECK_OUTPUT,
|
||||
|
|
@ -255,7 +255,7 @@ enum Feature {
|
|||
FEAT_EXTBAN_m,
|
||||
FEAT_EXTBAN_M,
|
||||
|
||||
/* Some misc. Nefarious default paths */
|
||||
/* Some misc. UnderChat default paths */
|
||||
FEAT_OMPATH,
|
||||
FEAT_EPATH,
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
/* RPL_MAP 6 unreal */
|
||||
/* RPL_MAPEND 7 unreal */
|
||||
#define RPL_SNOMASK 8 /* Undernet extension */
|
||||
#define RPL_BOUNCE 10 /* Nefarious extension */
|
||||
#define RPL_BOUNCE 10 /* UnderChat extension */
|
||||
/* RPL_BOUNCE 10 efnet, IRCnet extension
|
||||
(server redirect) */
|
||||
/* RPL_YOURCOOKIE 14 IRCnet extension */
|
||||
|
|
@ -106,7 +106,7 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
#define RPL_UMODEIS 221
|
||||
/* RPL_SQLINE_NICK 222 Numerics List: Dalnet */
|
||||
#define RPL_STATSJLINE 222 /* Undernet extension */
|
||||
#define RPL_STATSELINE 223 /* Nefarious extension */
|
||||
#define RPL_STATSELINE 223 /* UnderChat extension */
|
||||
/* RPL_STATSELINE 223 dalnet */
|
||||
/* RPL_STATSGLINE 223 unreal */
|
||||
/* RPL_STATSFLINE 224 Hybrid extension,Dalnet */
|
||||
|
|
@ -188,20 +188,20 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
#define RPL_FEATURE 284 /* Undernet extension - features */
|
||||
/* RPL_CHANINFO_HANDLE 285 aircd */
|
||||
/* RPL_CHANINFO_USERS 286 aircd */
|
||||
#define RPL_CHKHEAD 286 /* QuakeNet - Asuka / Nefarious */
|
||||
#define RPL_CHKHEAD 286 /* QuakeNet - Asuka / UnderChat */
|
||||
/* RPL_CHANINFO_CHOPS 287 aircd */
|
||||
#define RPL_CHANUSER 287 /* QuakeNet - Asuka / Nefarious */
|
||||
#define RPL_CHANUSER 287 /* QuakeNet - Asuka / UnderChat */
|
||||
/* RPL_CHANINFO_VOICES 288 aircd */
|
||||
/* RPL_CHANINFO_AWAY 289 aircd */
|
||||
/* RPL_CHANINFO_OPERS 290 aircd */
|
||||
/* RPL_HELPHDR 290 Numeric List: Dalnet */
|
||||
#define RPL_DATASTR 290 /* QuakeNet - Asuka / Nefarious */
|
||||
#define RPL_DATASTR 290 /* QuakeNet - Asuka / UnderChat */
|
||||
/* RPL_CHANINFO_BANNED 291 aircd */
|
||||
/* RPL_HELPOP 291 Numeric List: Dalnet */
|
||||
#define RPL_ENDOFCHECK 291 /* QuakeNet - Asuka / Nefarious */
|
||||
#define RPL_ENDOFCHECK 291 /* QuakeNet - Asuka / UnderChat */
|
||||
/* RPL_CHANINFO_BANS 292 aircd */
|
||||
/* RPL_HELPTLR 292 Numeric List: Dalnet */
|
||||
#define ERR_SEARCHNOMATCH 292 /* QuakeNet - Asuka / Nefarious */
|
||||
#define ERR_SEARCHNOMATCH 292 /* QuakeNet - Asuka / UnderChat */
|
||||
/* RPL_CHANINFO_INVITE 293 aircd */
|
||||
/* RPL_HELPHLP 293 Numeric List: Dalnet */
|
||||
/* RPL_CHANINFO_INVITES 294 aircd */
|
||||
|
|
@ -232,14 +232,14 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
/* RPL_WHOISSVCMSG 310 Dalnet */
|
||||
/* RPL_WHOISHELPOP 310 unreal */
|
||||
/* RPL_WHOISSERVICE 310 austnet */
|
||||
#define RPL_WHOISSERVICE 310 /* Nefarious extension */
|
||||
#define RPL_WHOISSERVICE 310 /* UnderChat extension */
|
||||
#define RPL_WHOISUSER 311 /* See also RPL_ENDOFWHOIS */
|
||||
#define RPL_WHOISSERVER 312
|
||||
#define RPL_WHOISOPERATOR 313
|
||||
#define RPL_WHOWASUSER 314 /* See also RPL_ENDOFWHOWAS */
|
||||
#define RPL_ENDOFWHO 315 /* See RPL_WHOREPLY/RPL_WHOSPCRPL */
|
||||
/* RPL_WHOISCHANOP 316 removed from RFC1459 */
|
||||
#define RPL_WHOISPRIVDEAF 316 /* Nefarious extension */
|
||||
#define RPL_WHOISPRIVDEAF 316 /* UnderChat extension */
|
||||
#define RPL_WHOISIDLE 317
|
||||
#define RPL_ENDOFWHOIS 318 /* See RPL_WHOISUSER/RPL_WHOISSERVER/
|
||||
RPL_WHOISOPERATOR/RPL_WHOISIDLE */
|
||||
|
|
@ -271,17 +271,17 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
/* RPL_CHANPASSOK 338 IRCnet extension (?)*/
|
||||
#define RPL_WHOISACTUALLY 338 /* Undernet extension, dalnet */
|
||||
/* RPL_BADCHANPASS 339 IRCnet extension (?) */
|
||||
#define RPL_WHOISMARKS 339 /* Nefarious extension */
|
||||
#define RPL_WHOISMARKS 339 /* UnderChat extension */
|
||||
#define RPL_USERIP 340 /* Undernet extension */
|
||||
#define RPL_INVITING 341
|
||||
/* RPL_SUMMONING 342 removed from RFC1459 */
|
||||
#define RPL_WHOISKILL 343 /* Nefarious extension */
|
||||
#define RPL_WHOISKILL 343 /* UnderChat extension */
|
||||
|
||||
#define RPL_ISSUEDINVITE 345 /* Undernet extension */
|
||||
#define RPL_INVEXLIST 346 /* Reply to "MODE +I", RFC2812 calls it RPL_INVITELIST */
|
||||
#define RPL_ENDOFINVEXLIST 347 /* Reply to "MODE +I", RFC2812 calls it RPL_ENDOFINVITELIST */
|
||||
#define RPL_EXCEPTLIST 348 /* IRCnet/Nefarious extension */
|
||||
#define RPL_ENDOFEXCEPTLIST 349 /* IRCnet/Nefarious extension */
|
||||
#define RPL_EXCEPTLIST 348 /* IRCnet/UnderChat extension */
|
||||
#define RPL_ENDOFEXCEPTLIST 349 /* IRCnet/UnderChat extension */
|
||||
|
||||
#define RPL_VERSION 351
|
||||
#define RPL_WHOREPLY 352 /* See also RPL_ENDOFWHO */
|
||||
|
|
@ -318,9 +318,9 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
/* RPL_YOURSERVICE 383 Numeric List: various */
|
||||
/* RPL_MYPORTIS 384 not used */
|
||||
/* RPL_NOTOPERANYMORE 385 Extension to RFC1459, not used */
|
||||
#define RPL_IRCOPSHEADER 386 /* Nefarious extension */
|
||||
#define RPL_IRCOPS 387 /* Nefarious extension */
|
||||
#define RPL_ENDOFIRCOPS 388 /* Nefarious extension */
|
||||
#define RPL_IRCOPSHEADER 386 /* UnderChat extension */
|
||||
#define RPL_IRCOPS 387 /* UnderChat extension */
|
||||
#define RPL_ENDOFIRCOPS 388 /* UnderChat extension */
|
||||
/* RPL_QLIST 386 unreal */
|
||||
/* RPL_ENDOFQLIST 387 unreal */
|
||||
/* RPL_ALIST 388 unreal */
|
||||
|
|
@ -406,9 +406,9 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
#define ERR_INVALIDUSERNAME 468 /* Undernet extension */
|
||||
/* ERR_ONLYSERVERSCANCHANGE 468 Dalnet,unreal */
|
||||
/* ERR_LINKSET 469 unreal */
|
||||
#define ERR_SSLONLYCHAN 469 /* Nefarious extension */
|
||||
#define ERR_SSLONLYCHAN 469 /* UnderChat extension */
|
||||
/* ERR_LINKCHANNEL 470 unreal */
|
||||
#define ERR_OPERONLYCHAN 470 /* Nefarious extension */
|
||||
#define ERR_OPERONLYCHAN 470 /* UnderChat extension */
|
||||
/* ERR_KICKEDFROMCHAN 470 aircd */
|
||||
#define ERR_CHANNELISFULL 471
|
||||
#define ERR_UNKNOWNMODE 472
|
||||
|
|
@ -423,7 +423,7 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
#define ERR_BADCHANNAME 479 /* EFNet extension */
|
||||
/* 479 Undernet extension badchan */
|
||||
/* ERR_CANNOTKNOCK 480 unreal */
|
||||
#define ERR_ADMINONLYCHAN 480 /* Nefarious extension */
|
||||
#define ERR_ADMINONLYCHAN 480 /* UnderChat extension */
|
||||
/* ERR_NOULINE 480 austnet */
|
||||
#define ERR_NOPRIVILEGES 481
|
||||
#define ERR_CHANOPRIVSNEEDED 482
|
||||
|
|
@ -435,16 +435,16 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
/* ERR_UNIQOPRIVSNEEDED 485 IRCnet extension */
|
||||
/* ERR_KILLDENY 485 unreal */
|
||||
/* ERR_CANTKICKADMIN 485 PTlink */
|
||||
#define ERR_COMMONCHANSONLY 485 /* Nefarious extension */
|
||||
#define ERR_COMMONCHANSONLY 485 /* UnderChat extension */
|
||||
/* ERR_HTMDISABLED 486 unreal */
|
||||
#define ERR_ACCOUNTONLY 486 /* Nefarious extension */
|
||||
#define ERR_ACCOUNTONLY 486 /* UnderChat extension */
|
||||
/* ERR_CHANTOORECENT 487 IRCnet extension (?) */
|
||||
#define ERR_PRIVDEAF 487 /* Nefarious extension */
|
||||
#define ERR_PRIVDEAF 487 /* UnderChat extension */
|
||||
/* ERR_TSLESSCHAN 488 IRCnet extension (?) */
|
||||
#define ERR_EXCEPTLISTFULL 488 /* Nefarious extention */
|
||||
#define ERR_VOICENEEDED 489 /* Undernet extension */
|
||||
|
||||
#define ERR_LINKSET 490 /* Nefarious extension */
|
||||
#define ERR_LINKSET 490 /* UnderChat extension */
|
||||
|
||||
#define ERR_NOOPERHOST 491
|
||||
/* ERR_NOSERVICEHOST 492 IRCnet extension */
|
||||
|
|
@ -489,28 +489,28 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
#define ERR_QUARANTINED 524 /* Undernet extension -Vampire */
|
||||
#define ERR_INVALIDKEY 525 /* Undernet extension */
|
||||
|
||||
#define ERR_BADHOSTMASK 530 /* Nefarious extension (SETHOST) */
|
||||
#define ERR_HOSTUNAVAIL 531 /* Nefarious extension (SETHOST) */
|
||||
#define ERR_SSLCLIFP 532 /* Nefarious extension */
|
||||
#define ERR_BADHOSTMASK 530 /* UnderChat extension (SETHOST) */
|
||||
#define ERR_HOSTUNAVAIL 531 /* UnderChat extension (SETHOST) */
|
||||
#define ERR_SSLCLIFP 532 /* UnderChat extension */
|
||||
|
||||
#define RPL_OMOTDSTART 535
|
||||
#define RPL_OMOTD 536
|
||||
#define RPL_ENDOFOMOTD 537
|
||||
|
||||
#define ERR_HALFCANTKICKOP 539 /* Nefarious extension */
|
||||
#define ERR_HALFCANTKICKOP 539 /* UnderChat extension */
|
||||
|
||||
#define RPL_STATSSHUN 542
|
||||
#define ERR_NOSUCHSHUN 543
|
||||
#define RPL_ENDOFSLIST 545
|
||||
|
||||
#define RPL_STATSZLINE 546 /* Nefarious extension */
|
||||
#define ERR_NOSUCHZLINE 547 /* Nefarious extension */
|
||||
#define RPL_ZLIST 548 /* Nefarious extension */
|
||||
#define RPL_ENDOFZLIST 549 /* Nefarious extension */
|
||||
#define ERR_INVALIDMASK 550 /* Nefarious extension */
|
||||
#define RPL_STATSZLINE 546 /* UnderChat extension */
|
||||
#define ERR_NOSUCHZLINE 547 /* UnderChat extension */
|
||||
#define RPL_ZLIST 548 /* UnderChat extension */
|
||||
#define RPL_ENDOFZLIST 549 /* UnderChat extension */
|
||||
#define ERR_INVALIDMASK 550 /* UnderChat extension */
|
||||
|
||||
#define ERR_LINKCHAN 551 /* Nefarious extension */
|
||||
#define ERR_LINKSELF 552 /* Nefarious extension */
|
||||
#define ERR_LINKCHAN 551 /* UnderChat extension */
|
||||
#define ERR_LINKSELF 552 /* UnderChat extension */
|
||||
|
||||
#define ERR_NOTLOWEROPLEVEL 560 /* Undernet extension */
|
||||
#define ERR_NOTMANAGER 561 /* Undernet extension */
|
||||
|
|
@ -554,15 +554,15 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
RPL_EODUMP 642 unreal
|
||||
*/
|
||||
|
||||
#define RPL_SSLFP 613 /* Nefarious extension */
|
||||
#define ERR_NOSSLFP 614 /* Nefarious extension */
|
||||
#define RPL_SSLFP 613 /* UnderChat extension */
|
||||
#define ERR_NOSSLFP 614 /* UnderChat extension */
|
||||
|
||||
#define RPL_WHOISSSLFP 616 /* Nefarious extension */
|
||||
#define RPL_WHOISSSLFP 616 /* UnderChat extension */
|
||||
|
||||
#define RPL_STARTTLS 670 /* Nefarious extension */
|
||||
#define RPL_WHOISSSL 671 /* Nefarious extension (SSL WHOIS) */
|
||||
#define RPL_STARTTLS 670 /* UnderChat extension */
|
||||
#define RPL_WHOISSSL 671 /* UnderChat extension (SSL WHOIS) */
|
||||
|
||||
#define ERR_STARTTLS 691 /* Nefarious extension */
|
||||
#define ERR_STARTTLS 691 /* UnderChat extension */
|
||||
|
||||
#define RPL_HELPSTART 704 /* RatBox */
|
||||
#define RPL_HELPTXT 705 /* RatBox */
|
||||
|
|
@ -578,7 +578,7 @@ extern const struct Numeric* get_error_numeric(int err);
|
|||
#define ERR_SASLALREADY 907 /* IRCv3 - SASL extension */
|
||||
#define ERR_SASLMECHS 908 /* IRCv3 - SASL extension */
|
||||
|
||||
#define ERR_CANNOTCHANGECHANMODE 974 /* Nefarious extension */
|
||||
#define ERR_CANNOTCHANGECHANMODE 974 /* UnderChat extension */
|
||||
|
||||
#define ERR_LASTERROR 975
|
||||
|
||||
|
|
|
|||
|
|
@ -535,7 +535,7 @@ static struct FeatureDesc {
|
|||
F_S(DEFAULT_LIST_PARAM, FEAT_NULL, 0, list_set_default),
|
||||
F_I(NICKNAMEHISTORYLENGTH, 0, 800, whowas_realloc),
|
||||
F_B(HOST_HIDING, 0, 1, 0),
|
||||
F_S(HIDDEN_HOST, FEAT_CASE, "Users.Nefarious", 0),
|
||||
F_S(HIDDEN_HOST, FEAT_CASE, "Users.UnderChat", 0),
|
||||
F_S(HIDDEN_IP, 0, "127.0.0.1", 0),
|
||||
F_B(CONNEXIT_NOTICES, 0, 0, 0),
|
||||
F_B(OPLEVELS, 0, 0, feature_notify_oplevels),
|
||||
|
|
@ -632,16 +632,16 @@ static struct FeatureDesc {
|
|||
F_B(HIS_REWRITE, 0, 1, 0),
|
||||
F_I(HIS_REMOTE, 0, 1, 0),
|
||||
F_B(HIS_NETSPLIT, 0, 1, 0),
|
||||
F_S(HIS_SERVERNAME, 0, "*.Nefarious", feature_notify_servername),
|
||||
F_S(HIS_SERVERNAME, 0, "*.UnderChat", feature_notify_servername),
|
||||
F_S(HIS_SERVERINFO, 0, "evilnet development", feature_notify_serverinfo),
|
||||
F_S(HIS_URLSERVERS, 0, "http://sourceforge.net/projects/evilnet/", 0),
|
||||
|
||||
/* Misc. random stuff */
|
||||
F_S(NETWORK, 0, "Nefarious", set_isupport_network),
|
||||
F_S(NETWORK, 0, "UnderChat", set_isupport_network),
|
||||
F_S(URL_CLIENTS, 0, "http://www.ircreviews.org/clients/", 0),
|
||||
F_S(URLREG, 0, "http://sourceforge.net/projects/evilnet/", 0),
|
||||
|
||||
/* Nefarious FEAT_'s */
|
||||
/* UnderChat FEAT_'s */
|
||||
F_B(CHECK, 0, 1, 0),
|
||||
F_B(CHECK_EXTENDED, 0, 1, 0),
|
||||
F_I(MAX_CHECK_OUTPUT, 0, 1000, 0),
|
||||
|
|
@ -738,7 +738,7 @@ static struct FeatureDesc {
|
|||
F_B(EXTBAN_m, 0, 1, set_isupport_extbans),
|
||||
F_B(EXTBAN_M, 0, 1, set_isupport_extbans),
|
||||
|
||||
/* Some misc. Nefarious default paths */
|
||||
/* Some misc. UnderChat default paths */
|
||||
F_S(OMPATH, FEAT_CASE | FEAT_MYOPER, "ircd.opermotd", motd_init),
|
||||
F_S(EPATH, FEAT_CASE | FEAT_MYOPER, "ircd.rules", motd_init),
|
||||
|
||||
|
|
@ -748,9 +748,9 @@ static struct FeatureDesc {
|
|||
F_S(HIDDEN_HOST_UNSET_MESSAGE, 0, "UnRegistered", 0),
|
||||
F_B(ALLOWRMX, 0, 0, 0),
|
||||
F_B(OPERHOST_HIDING, 0, 1, 0),
|
||||
F_S(HIDDEN_OPERHOST, FEAT_CASE, "Staff.Nefarious", 0),
|
||||
F_S(HIDDEN_OPERHOST, FEAT_CASE, "Staff.UnderChat", 0),
|
||||
F_I(HOST_HIDING_STYLE, 0, 1, 0),
|
||||
F_S(HOST_HIDING_PREFIX, 0, "Nefarious", 0),
|
||||
F_S(HOST_HIDING_PREFIX, 0, "UnderChat", 0),
|
||||
F_S(HOST_HIDING_KEY1, 0, "aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW", 0),
|
||||
F_S(HOST_HIDING_KEY2, 0, "sdfjkLJKHlkjdkfjsdklfjlkjKLJ", 0),
|
||||
F_S(HOST_HIDING_KEY3, 0, "KJklJSDFLkjLKDFJSLKjlKJFlkjS", 0),
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ int m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
|
|||
|
||||
|
||||
if (parc < 2) {
|
||||
send_reply(sptr, RPL_HELPSTART, "*", "Nefarious Help System");
|
||||
send_reply(sptr, RPL_HELPSTART, "*", "UnderChat Help System");
|
||||
for (i = 0; msgtab[i].cmd; i++)
|
||||
send_reply(sptr, RPL_HELPTXT, "*", msgtab[i].cmd, msgtab[i].help);
|
||||
return send_reply(sptr, RPL_ENDOFHELP, "*", "End of HELP");
|
||||
|
|
@ -118,7 +118,7 @@ int m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
|
|||
break;
|
||||
}
|
||||
}
|
||||
send_reply(sptr, RPL_HELPSTART, cmd, "Nefarious Help System");
|
||||
send_reply(sptr, RPL_HELPSTART, cmd, "UnderChat Help System");
|
||||
for (i = 0; msgtab[i].cmd; i++) {
|
||||
if (!strcmp(cmd, msgtab[i].cmd)) {
|
||||
send_reply(sptr, RPL_HELPTXT, cmd, msgtab[i].cmd, msgtab[i].help);
|
||||
|
|
|
|||
Loading…
Reference in New Issue