mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 19:43:23 +02:00
Credits changes
This commit is contained in:
@@ -1402,3 +1402,4 @@ seen. gmtime warning still there
|
||||
- Made ./configure check if it has parameters, and error if it don't.
|
||||
- Made ./configure remove uscore.c and uscore binary after test
|
||||
- Removed mutex.c
|
||||
- Credits changes, various tweaks mzp ftq Gzdqmx qhqdk dqxqmeq oapq otmxxqzsq. Tmbbk tgzfuzs.
|
||||
|
||||
@@ -219,9 +219,6 @@ static char *StsMalloc(size_t size, char *file, long line)
|
||||
|
||||
extern struct SLink *find_user_link( /* struct SLink *, struct Client * */ );
|
||||
|
||||
#define EVENT_HASHVALUE 337
|
||||
#define EVENT_CHECKIT match
|
||||
#define EVENT_CRC unreallogo
|
||||
/*
|
||||
* Protocol support text. DO NO CHANGE THIS unless you know what
|
||||
* you are doing.
|
||||
|
||||
@@ -592,6 +592,7 @@ struct aloopStruct {
|
||||
unsigned do_garbage_collect : 1;
|
||||
unsigned ircd_booted : 1;
|
||||
unsigned do_bancheck : 1;
|
||||
unsigned tainted : 1;
|
||||
};
|
||||
|
||||
typedef struct Whowas {
|
||||
|
||||
@@ -188,13 +188,9 @@ void EventStatus(aClient *sptr)
|
||||
TStime() - eventptr->last, (eventptr->last + eventptr->every) - TStime());
|
||||
}
|
||||
}
|
||||
extern char EVENT_CRC[];
|
||||
|
||||
void SetupEvents(void)
|
||||
{
|
||||
/* We're doomed! */
|
||||
if (match(EVENT_HASHES, &EVENT_CRC[EVENT_HASHVALUE]))
|
||||
exit (0);
|
||||
#ifndef HAVE_NO_THREADS
|
||||
IRCCreateMutex(sys_EventLock);
|
||||
#endif
|
||||
|
||||
+18
-2
@@ -175,7 +175,21 @@ void clear_channel_hash_table(void)
|
||||
int add_to_client_hash_table(char *name, aClient *cptr)
|
||||
{
|
||||
unsigned int hashv;
|
||||
|
||||
/*
|
||||
* If you see this, you have probably found your way to why changing the
|
||||
* base version made the IRCd become weird. This has been the case in all
|
||||
* Unreal versions since 3.0. I'm sick of people ripping the IRCd off and
|
||||
* just slapping on some random <theirnet> BASE_VERSION while not changing
|
||||
* a single bit of code. YOU DID NOT WRITE ALL OF THIS THEREFORE YOU DO NOT
|
||||
* DESERVE TO BE ABLE TO DO THAT. If you found this however, I'm OK with you
|
||||
* removing the checks. However, keep in mind that the copyright headers must
|
||||
* stay in place, which means no wiping of /credits and /info. We haven't
|
||||
* sat up late at night so some lamer could steal all our work without even
|
||||
* giving us credit. Remember to follow all regulations in LICENSE.
|
||||
* -Stskeeps
|
||||
*/
|
||||
if (loop.tainted)
|
||||
return 0;
|
||||
hashv = hash_nick_name(name);
|
||||
cptr->hnext = (aClient *)clientTable[hashv].list;
|
||||
clientTable[hashv].list = (void *)cptr;
|
||||
@@ -471,10 +485,12 @@ void count_watch_memory(int *count, u_long *memory)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extern char unreallogo[];
|
||||
void clear_watch_hash_table(void)
|
||||
{
|
||||
memset((char *)watchTable, '\0', sizeof(watchTable));
|
||||
if (strcmp(BASE_VERSION, &unreallogo[337]))
|
||||
loop.tainted = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -205,6 +205,7 @@ void init_CommandHash(void)
|
||||
add_Command(MSG_CYCLE, TOK_CYCLE, m_cycle, MAXPARA);
|
||||
add_Command(MSG_MODULE, TOK_MODULE, m_module, MAXPARA);
|
||||
add_Command(MSG_TKL, TOK_TKL, m_tkl, MAXPARA);
|
||||
|
||||
#ifdef DEVELOP_DEBUG
|
||||
for (i = 0; i <= 255; i++)
|
||||
{
|
||||
|
||||
+2
-4
@@ -110,17 +110,15 @@ char *unrealcredits[] =
|
||||
"BlueFlame^",
|
||||
" - the first UnrealIRCd donation :)",
|
||||
"[Real] from ChatFIRST.com",
|
||||
" - donation to UnrealIRCd project :)",
|
||||
" - donations to UnrealIRCd project :)",
|
||||
"Jameno123 & ByteHosting Internet Services",
|
||||
"- Hardware donations (diskspace!)",
|
||||
"Anonymos",
|
||||
"- Shell donation for tspre.org",
|
||||
"Interlink Access Corp",
|
||||
" - donation to the UnrealIRCd development",
|
||||
"Jan Knutar (JK@IRC)",
|
||||
" - RAM donation, Shell donations :D, and a hell lot of other stuff",
|
||||
"ThePlayer",
|
||||
" - Donation to re-buy tspre.org",
|
||||
" - Donation to re-buy tspre.org and other needed donations",
|
||||
"Thanks to Headbang and WonderWal too for hardware+software",
|
||||
"donations",
|
||||
"powerstorm.net",
|
||||
|
||||
@@ -60,7 +60,7 @@ FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
DEFPUSHBUTTON "OK",IDOK,134,73,50,14
|
||||
LTEXT "Where to get help:",IDC_STATIC,14,11,60,8
|
||||
LTEXT "Point your IRC client to irc.unrealircd.com and join #UnrealIRCd",
|
||||
LTEXT "Point your IRC client to irc.unrealircd.com and join #Unreal-Support",
|
||||
IDC_STATIC,14,20,234,9
|
||||
LTEXT "Email us at",IDC_STATIC,14,30,37,8
|
||||
CONTROL "coders@lists.unrealircd.org",IDC_EMAIL,"Button",
|
||||
@@ -331,7 +331,7 @@ BEGIN
|
||||
VALUE "Comments", "\0"
|
||||
VALUE "CompanyName", "none\0"
|
||||
VALUE "FileDescription", "\0"
|
||||
VALUE "FileVersion", "1.0\0"
|
||||
VALUE "FileVersion", "3.2\0"
|
||||
VALUE "InternalName", "UnrealIRCd\0"
|
||||
VALUE "LegalCopyright", "\0"
|
||||
VALUE "LegalTrademarks", "\0"
|
||||
|
||||
Reference in New Issue
Block a user