1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 22:53:12 +02:00

Bump module header version to "unrealircd-5", add author field

and remove old dependency field (never used, was always NULL,
broken since 3.2.x)
I'll add some constraints later on things like names and versions.
IOTW: more changes to follow, don't mass update your own mods yet.
This commit is contained in:
Bram Matthys
2019-08-26 20:29:47 +02:00
parent 526e5e09a4
commit 10faaf91ba
176 changed files with 371 additions and 413 deletions
+5 -6
View File
@@ -59,7 +59,6 @@
#define TO_PVOIDFUNC(x) (void *(*)())(x)
#define TO_PCHARFUNC(x) (char *(*)())(x)
typedef struct _mod_symboltable Mod_SymbolDepTable;
typedef struct _event Event;
typedef struct _eventinfo EventInfo;
typedef struct _irchook Hook;
@@ -73,11 +72,11 @@ typedef struct _ircefunction Efunction;
*/
typedef struct _ModuleHeader {
char *name;
char *version;
char *description;
char *modversion;
Mod_SymbolDepTable *symdep;
char *name;
char *version;
char *description;
char *author;
char *modversion;
} ModuleHeader;
typedef struct _Module Module;
+13 -53
View File
@@ -293,25 +293,8 @@ Module *Module_Find(char *name)
int parse_modsys_version(char *version)
{
int betaversion, tag;
if (!strcmp(version, "3.2.3"))
return 0x32300;
if (sscanf(version, "3.2-b%d-%d", &betaversion, &tag))
{
switch (betaversion)
{
case 5:
return 0x320b5;
case 6:
return 0x320b6;
case 7:
return 0x320b7;
case 8:
return 0x320b8;
default:
return 0;
}
}
if (!strcmp(version, "unrealircd-5"))
return 0x500000;
return 0;
}
@@ -526,24 +509,12 @@ char *Module_Create(char *path_)
irc_dlsym(Mod, "Mod_Test", Mod_Test);
if (Mod_Test)
{
if (mod->mod_sys_version >= 0x320b8) {
if ((ret = (*Mod_Test)(&mod->modinfo)) < MOD_SUCCESS) {
ircsnprintf(errorbuf, sizeof(errorbuf), "Mod_Test returned %i",
ret);
/* We EXPECT the module to have cleaned up it's mess */
Module_free(mod);
return (errorbuf);
}
}
else {
if ((ret = (*Mod_Test)(0)) < MOD_SUCCESS)
{
snprintf(errorbuf, 1023, "Mod_Test returned %i",
ret);
/* We EXPECT the module to have cleaned up it's mess */
Module_free(mod);
return (errorbuf);
}
if ((ret = (*Mod_Test)(&mod->modinfo)) < MOD_SUCCESS) {
ircsnprintf(errorbuf, sizeof(errorbuf), "Mod_Test returned %i",
ret);
/* We EXPECT the module to have cleaned up its mess */
Module_free(mod);
return (errorbuf);
}
}
mod->flags = MODFLAG_TESTING;
@@ -603,23 +574,12 @@ void Init_all_testing_modules(void)
if (!(mi->flags & MODFLAG_TESTING))
continue;
irc_dlsym(mi->dll, "Mod_Init", Mod_Init);
if (mi->mod_sys_version >= 0x320b8) {
if ((ret = (*Mod_Init)(&mi->modinfo)) < MOD_SUCCESS) {
config_error("Error loading %s: Mod_Init returned %i",
mi->header->name, ret);
Module_free(mi);
continue;
}
if ((ret = (*Mod_Init)(&mi->modinfo)) < MOD_SUCCESS) {
config_error("Error loading %s: Mod_Init returned %i",
mi->header->name, ret);
Module_free(mi);
continue;
}
else {
if ((ret = (*Mod_Init)(0)) < MOD_SUCCESS)
{
config_error("Error loading %s: Mod_Init returned %i",
mi->header->name, ret);
Module_free(mi);
continue;
}
}
mi->flags = MODFLAG_INIT;
}
}
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(account-tag)
"account-tag",
"5.0",
"account-tag CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Variables */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(addmotd)
"addmotd",
"5.0",
"command /addmotd",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(addmotd)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(addomotd)
"addomotd",
"5.0",
"command /addomotd",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(addomotd)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(admin)
"admin",
"5.0",
"command /admin",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(admin)
+2 -2
View File
@@ -47,8 +47,8 @@ ModuleHeader MOD_HEADER(antimixedutf8)
"antimixedutf8",
"1.0",
"Mixed UTF8 character filter (look-alike character spam) - by Syzop",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
struct {
+2 -2
View File
@@ -38,8 +38,8 @@ ModuleHeader MOD_HEADER(antirandom)
"antirandom",
"v1.4",
"Randomness detector",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
#ifndef MAX
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(authprompt)
"authprompt",
"1.0",
"SASL authentication for clients that don't support SASL",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
typedef struct _multiline MultiLine;
+2 -2
View File
@@ -33,8 +33,8 @@ ModuleHeader MOD_HEADER(away)
"away",
"5.0",
"command /away",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(away)
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(batch)
"batch",
"5.0",
"Batch CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -25,8 +25,8 @@ ModuleHeader MOD_HEADER(blacklist)
"blacklist",
"5.0",
"Check connecting users against DNS Blacklists",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* In this module and the config syntax I tried to 'abstract' things
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(botmotd)
"botmotd",
"5.0",
"command /botmotd",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(botmotd)
+2 -2
View File
@@ -33,8 +33,8 @@ ModuleHeader MOD_HEADER(cap)
"cap", /* Name of module */
"5.0", /* Version */
"command /cap", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -16,8 +16,8 @@ ModuleHeader MOD_HEADER(certfp)
"certfp",
"5.0",
"Certificate fingerprint",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -11,8 +11,8 @@ ModuleHeader MOD_HEADER(censor)
"chanmodes/censor",
"4.2",
"Channel Mode +G",
"3.2-b8-1",
NULL,
"UnrealIRCd Team",
"unrealircd-5",
};
+2 -2
View File
@@ -10,8 +10,8 @@ ModuleHeader MOD_HEADER(delayjoin)
"delayjoin", /* Name of module */
"v0.0.1", /* Version */
"delayed join (+D,+d)", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
#define MOD_DATA_STR "delayjoin"
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(floodprot)
"chanmodes/floodprot",
"$Id: floodprot.c,v 1.2 2019/08/10 syzop Exp $",
"Channel Mode +f",
"3.2-b8-1",
NULL,
"UnrealIRCd Team",
"unrealircd-5",
};
#define FLD_CTCP 0 /* c */
+2 -2
View File
@@ -10,8 +10,8 @@ ModuleHeader MOD_HEADER(history)
"chanmodes/history",
"1.0",
"Channel Mode +H",
"3.2-b8-1",
NULL,
"UnrealIRCd Team",
"unrealircd-5",
};
typedef struct _config_history_ext ConfigHistoryExt;
+2 -2
View File
@@ -33,8 +33,8 @@ ModuleHeader MOD_HEADER(issecure)
"chanmodes/issecure",
"4.2",
"Channel Mode +Z",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_ISSECURE;
+2 -2
View File
@@ -25,8 +25,8 @@ ModuleHeader MOD_HEADER(link) = {
"link",
"5.0",
"Channel Mode +L",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTMODE_LINK = 0L;
+2 -2
View File
@@ -26,8 +26,8 @@ ModuleHeader MOD_HEADER(nocolor)
"chanmodes/nocolor",
"4.2",
"Channel Mode +c",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NOCOLOR;
+2 -2
View File
@@ -26,8 +26,8 @@ ModuleHeader MOD_HEADER(noctcp)
"chanmodes/noctcp",
"4.2",
"Channel Mode +C",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NOCTCP;
+2 -2
View File
@@ -26,8 +26,8 @@ ModuleHeader MOD_HEADER(noinvite)
"chanmodes/noinvite",
"4.2",
"Channel Mode +V",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NOINVITE;
+2 -2
View File
@@ -25,8 +25,8 @@ ModuleHeader MOD_HEADER(nokick)
"chanmodes/nokick",
"4.2",
"Channel Mode +Q",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NOKICK;
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(noknock)
"chanmodes/noknock",
"4.2",
"Channel Mode +K",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NOKNOCK;
+2 -2
View File
@@ -25,8 +25,8 @@ ModuleHeader MOD_HEADER(nonickchange)
"chanmodes/nonickchange",
"4.2",
"Channel Mode +N",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NONICKCHANGE;
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(nonotice)
"chanmodes/nonotice",
"4.2",
"Channel Mode +T",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_NONOTICE;
+2 -2
View File
@@ -26,8 +26,8 @@ ModuleHeader MOD_HEADER(operonly)
"chanmodes/operonly",
"4.2",
"Channel Mode +O",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_OPERONLY;
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(permanent)
"chanmodes/permanent",
"4.2",
"Permanent channel mode (+P)",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
static Cmode_t EXTMODE_PERMANENT = 0L;
+2 -2
View File
@@ -25,8 +25,8 @@ ModuleHeader MOD_HEADER(regonly)
"chanmodes/regonly",
"4.2",
"Channel Mode +R",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_REGONLY;
+2 -2
View File
@@ -25,8 +25,8 @@ ModuleHeader MOD_HEADER(regonlyspeak)
"chanmodes/regonlyspeak",
"4.2",
"Channel Mode +M",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_REGONLYSPEAK;
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(secureonly)
"chanmodes/secureonly",
"4.2",
"Channel Mode +z",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_SECUREONLY;
+2 -2
View File
@@ -26,8 +26,8 @@ ModuleHeader MOD_HEADER(stripcolor)
"chanmodes/stripcolor",
"4.2",
"Channel Mode +S",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
Cmode_t EXTCMODE_STRIPCOLOR;
+2 -2
View File
@@ -65,8 +65,8 @@ ModuleHeader MOD_HEADER(channeldb) = {
"channeldb",
"v1.0",
"Stores and retrieves channel settings for persistent (+P) channels",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_TEST(channeldb)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(charsys)
"charsys", /* Name of module */
"5.0", /* Version */
"Character System (set::allowed-nickchars)", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* NOTE: it is guaranteed that char is unsigned by compiling options
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(chghost)
"chghost", /* Name of module */
"5.0", /* Version */
"/chghost", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(chghost)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(chgident)
"chgident", /* Name of module */
"5.0", /* Version */
"/chgident", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(chgident)
+2 -2
View File
@@ -30,8 +30,8 @@ ModuleHeader MOD_HEADER(chgname)
"chgname", /* Name of module */
"5.0", /* Version */
"command /chgname", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
+7 -8
View File
@@ -48,14 +48,13 @@ static inline unsigned int downsample(char *i);
Callback *cloak = NULL, *cloak_csum = NULL;
ModuleHeader MOD_HEADER(cloak)
= {
"cloak",
"v1.0",
"Official cloaking module (md5)",
"3.2-b8-1",
NULL
};
ModuleHeader MOD_HEADER(cloak) = {
"cloak",
"v1.0",
"Official cloaking module (md5)",
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_TEST(cloak)
{
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(close)
"close",
"5.0",
"command /close",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(close)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(connect)
"connect",
"5.0",
"command /connect",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(connect)
+2 -2
View File
@@ -18,8 +18,8 @@ ModuleHeader MOD_HEADER(connthrottle)
"connthrottle",
CONNTHROTTLE_VERSION,
"Connection throttler - by Syzop",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
typedef struct {
+2 -2
View File
@@ -29,8 +29,8 @@ ModuleHeader MOD_HEADER(cycle)
"cycle", /* Name of module */
"5.0", /* Version */
"command /cycle", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* This is called on module init, before Server Ready */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(dccallow)
"dccallow",
"5.0",
"command /dccallow",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(dccallow)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(dccdeny)
"dccdeny",
"5.0",
"command /dccdeny",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(dccdeny)
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(echo_message)
"echo-message",
"5.0",
"Batch CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Variables */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(eos)
"eos",
"5.0",
"command /eos",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(eos)
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(account)
"chanmodes/extbans/account",
"4.2",
"ExtBan ~a - Ban/exempt by services account name",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(certfp)
"extbans/certfp",
"4.2",
"ExtBan ~S - Ban/exempt by SHA256 TLS certificate fingerprint",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(inchannel)
"chanmodes/extbans/inchannel",
"4.2",
"ExtBan ~c - banned when in specified channel",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(join)
"chanmodes/extbans/join",
"4.2",
"Extban ~j - prevent join only",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(msgbypass)
"chanmodes/extbans/msgbypass",
"4.2",
"ExtBan ~m - bypass +m/+n/+c/+S/+T (msgbypass)",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(nickchange)
"chanmodes/extbans/nickchange",
"4.2",
"ExtBan ~n - prevent nick-changes only",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(operclass)
"chanmodes/extbans/operclass",
"4.2",
"ExtBan ~O - Ban/exempt operclass",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(partmsg)
"chanmodes/extbans/partmsg",
"4.2",
"ExtBan ~p - Ban/exempt Part/Quit message",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
int extban_partmsg_is_banned(aClient *sptr, aChannel *chptr, char *banin, int type, char **msg, char **errmsg);
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(quiet)
"chanmodes/extbans/quiet",
"4.2",
"ExtBan ~q - prevent messages only (quiet)",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -23,8 +23,8 @@ ModuleHeader MOD_HEADER(realname)
"chanmodes/extbans/realname",
"4.2",
"ExtBan ~r - Ban based on realname/gecos field",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -75,8 +75,8 @@ ModuleHeader MOD_HEADER(textban)
"textban",
"v2.2",
"ExtBan ~T (textban) by Syzop",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -52,8 +52,8 @@ ModuleHeader MOD_HEADER(timedban)
"timedban",
TIMEDBAN_VERSION,
"ExtBan ~t: automatically removed timed bans",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(globops)
"globops",
"5.0",
"command /globops",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(globops)
+2 -2
View File
@@ -32,8 +32,8 @@ ModuleHeader MOD_HEADER(help)
"help",
"5.0",
"command /help",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(help)
+2 -2
View File
@@ -48,8 +48,8 @@ ModuleHeader MOD_HEADER(hideserver)
"hideserver",
"v5.0",
"Hide servers from /MAP & /LINKS",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
static void InitConf()
+2 -2
View File
@@ -16,8 +16,8 @@ ModuleHeader MOD_HEADER(history_backend_mem)
"history_backend_mem",
"1.0",
"History backend: memory",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Defines */
+2 -2
View File
@@ -15,8 +15,8 @@ ModuleHeader MOD_HEADER(history_backend_null)
"history_backend_null",
"1.0",
"History backend: null/none",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(invite)
"invite",
"5.0",
"command /invite",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(invite)
+2 -2
View File
@@ -30,8 +30,8 @@ ModuleHeader MOD_HEADER(ircops)
"ircops",
"v3.71",
"/IRCOPS command that lists IRC Operators",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(ircops)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(ison)
"ison",
"5.0",
"command /ison",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(ison)
+2 -2
View File
@@ -47,8 +47,8 @@ ModuleHeader MOD_HEADER(join)
"join",
"5.0",
"command /join",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_TEST(join)
+2 -2
View File
@@ -32,8 +32,8 @@ ModuleHeader MOD_HEADER(jointhrottle)
"jointhrottle",
"5.0",
"Join flood protection (set::anti-flood::join-flood)",
"3.2-b8-1",
NULL,
"UnrealIRCd Team",
"unrealircd-5",
};
ModuleInfo *ModInfo = NULL;
+2 -2
View File
@@ -24,8 +24,8 @@ ModuleHeader MOD_HEADER(jumpserver)
"jumpserver",
"v1.1",
"/jumpserver command",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Defines */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(kick)
"kick",
"5.0",
"command /kick",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(kick)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(kill)
"kill", /* Name of module */
"5.0", /* Version */
"command /kill", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* This is called on module init, before Server Ready */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(knock)
"knock",
"5.0",
"command /knock",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(knock)
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(labeled-response)
"labeled-response",
"5.0",
"Labeled response CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -30,8 +30,8 @@ ModuleHeader MOD_HEADER(lag)
"lag", /* Name of module */
"5.0", /* Version */
"command /lag", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* This is called on module init, before Server Ready */
+2 -2
View File
@@ -28,8 +28,8 @@ ModuleHeader MOD_HEADER(link_security)
"link-security",
"5.0",
"Link Security CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(links)
"links",
"5.0",
"command /links",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(links)
+2 -2
View File
@@ -32,8 +32,8 @@ ModuleHeader MOD_HEADER(list)
"list",
"5.0",
"command /list",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
EVENT(send_queued_list_data);
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(locops)
"locops",
"5.0",
"command /locops",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(locops)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(lusers)
"lusers",
"5.0",
"command /lusers",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(lusers)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(map)
"map",
"5.0",
"command /map",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(map)
+2 -2
View File
@@ -13,8 +13,8 @@ ModuleHeader MOD_HEADER(md)
"md",
"5.0",
"command /MD (S2S only)",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
CMD_FUNC(m_md);
+2 -2
View File
@@ -15,8 +15,8 @@ ModuleHeader MOD_HEADER(mdex)
"mdex",
"5.0",
"Command /MDEX",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
ModDataInfo *mdex_cli = NULL, *mdex_chan = NULL, *mdex_member = NULL, *mdex_membership = NULL;
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(message-ids)
"message-ids",
"5.0",
"msgid CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/** The length of a standard 'msgid' tag (note that special
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(message-tags)
"message-tags",
"5.0",
"Message tags CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
long CAP_MESSAGE_TAGS = 0L;
+2 -2
View File
@@ -40,8 +40,8 @@ ModuleHeader MOD_HEADER(message)
"message", /* Name of module */
"5.0", /* Version */
"private message and notice", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_TEST(message)
+2 -2
View File
@@ -33,8 +33,8 @@ ModuleHeader MOD_HEADER(mkpasswd)
"mkpasswd",
"5.0",
"command /mkpasswd",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(mkpasswd)
+2 -2
View File
@@ -54,8 +54,8 @@ ModuleHeader MOD_HEADER(mode)
"mode",
"5.0",
"command /mode",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_TEST(mode)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(motd)
"motd",
"5.0",
"command /motd",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(motd)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(names)
"names",
"5.0",
"command /names",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(names)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(netinfo)
"netinfo",
"5.0",
"command /netinfo",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(netinfo)
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(nick)
"nick",
"5.0",
"command /nick",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
#define MSG_NICK "NICK"
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(nocodes)
"nocodes", /* Name of module */
NOCODES_VERSION, /* Version */
"Strip/block bold/underline/reverse - by Syzop", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
char *nocodes_pre_chanmsg(aClient *sptr, aChannel *chptr, MessageTag *mtags, char *text, int notice);
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(oper)
"oper", /* Name of module */
"5.0", /* Version */
"command /oper", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* This is called on module init, before Server Ready */
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(opermotd)
"opermotd",
"5.0",
"command /opermotd",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(opermotd)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(part)
"part",
"5.0",
"command /part",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(part)
+2 -2
View File
@@ -31,8 +31,8 @@ ModuleHeader MOD_HEADER(pass)
"pass",
"5.0",
"command /pass",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* Forward declarations */
+2 -2
View File
@@ -33,8 +33,8 @@ ModuleHeader MOD_HEADER(pingpong)
"pingpong", /* Name of module */
"5.0", /* Version */
"ping, pong and nospoof", /* Short description of module */
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
/* This is called on module init, before Server Ready */
MOD_INIT(pingpong)
+2 -2
View File
@@ -27,8 +27,8 @@ ModuleHeader MOD_HEADER(plaintext_policy)
"plaintext-policy",
"5.0",
"Plaintext Policy CAP",
"3.2-b8-1",
NULL
"UnrealIRCd Team",
"unrealircd-5",
};
MOD_INIT(plaintext_policy)

Some files were not shown because too many files have changed in this diff Show More