1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 11:23:12 +02:00

Removed archaic useless stuff

This commit is contained in:
griever
2002-01-02 03:46:14 +00:00
parent d20059ea7d
commit f0ddd37c49
5 changed files with 15 additions and 9 deletions
+2
View File
@@ -1071,3 +1071,5 @@ seen. gmtime warning still there
- Made support in *nix for encrypted SSL private keys,
"make encpem" to make an encrypted server key if you already have one
- Removed some ancient debugging code (num - %s)
- Wiped out FLAGS_TS8 because I want to move ->flags into the local section and
FLAGS_TS8 had 0 purpose except setting CHFL_SERVOPOK (which did nothing)
+9 -5
View File
@@ -1071,7 +1071,7 @@ int m_mode(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
sptr->flags &= ~FLAGS_TS8;
/* sptr->flags &= ~FLAGS_TS8; */
if (MyConnect(sptr))
clean_channelname(parv[1]);
@@ -2768,8 +2768,10 @@ int channel_link(aClient *cptr, aClient *sptr, int parc, char *parv[])
if (!MyConnect(sptr))
flags = CHFL_DEOPPED;
if (sptr->flags & FLAGS_TS8)
flags |= CHFL_SERVOPOK;
#if 0
/* if (sptr->flags & FLAGS_TS8)
flags |= CHFL_SERVOPOK; */
#endif
i1 = 0;
if (chptr == NULL)
@@ -3006,8 +3008,10 @@ int m_join(aClient *cptr, aClient *sptr, int parc, char *parv[])
if (!MyConnect(sptr))
flags = CHFL_DEOPPED;
#if 0
if (sptr->flags & FLAGS_TS8)
flags |= CHFL_SERVOPOK;
#endif
if (!chptr ||
(MyConnect(sptr)
@@ -3144,7 +3148,7 @@ int m_part(aClient *cptr, aClient *sptr, int parc, char *parv[])
char *p = NULL, *name;
char *comment = (parc > 2 && parv[2]) ? parv[2] : NULL;
sptr->flags &= ~FLAGS_TS8;
/* sptr->flags &= ~FLAGS_TS8; */
if (parc < 2 || parv[1][0] == '\0')
{
@@ -3347,7 +3351,7 @@ int m_kick(aClient *cptr, aClient *sptr, int parc, char *parv[])
Membership *lp, *lp2;
sptr->flags &= ~FLAGS_TS8;
/* sptr->flags &= ~FLAGS_TS8; */
if (parc < 3 || *parv[1] == '\0')
{
+1 -1
View File
@@ -171,7 +171,7 @@ DLLFUNC int m_message(cptr, sptr, parc, parv, notice)
{
}
sptr->flags &= ~FLAGS_TS8;
/* sptr->flags &= ~FLAGS_TS8; */
cmd = notice ? MSG_NOTICE : MSG_PRIVATE;
if (parc < 2 || *parv[1] == '\0')
{
+2 -2
View File
@@ -956,7 +956,7 @@ int m_server_remote(aClient *cptr, aClient *sptr, int parc, char *parv[])
add_server_to_table(acptr);
IRCstats.servers++;
(void)find_or_add(acptr->name);
acptr->flags |= FLAGS_TS8;
/* acptr->flags |= FLAGS_TS8; */
add_client_to_list(acptr);
(void)add_to_client_hash_table(acptr->name, acptr);
RunHook(HOOKTYPE_SERVER_CONNECT, acptr);
@@ -1019,7 +1019,7 @@ int m_server_synch(aClient *cptr, long numeric, ConfigItem_link *aconf)
#endif
if ((Find_uline(cptr->name)))
cptr->flags |= FLAGS_ULINE;
cptr->flags |= FLAGS_TS8;
/* cptr->flags |= FLAGS_TS8; */
nextping = TStime();
(void)find_or_add(cptr->name);
#ifdef USE_SSL
+1 -1
View File
@@ -902,7 +902,7 @@ extern int register_user(cptr, sptr, nick, username, umode, virthost)
"USER server wrong direction");
}
else
sptr->flags |= (acptr->flags & FLAGS_TS8);
sptr->flags |= (acptr->flags & /* FLAGS_TS8 */);
/* *FINALL* this gets in ircd... -- Barubary */
/* We change this a bit .. */
if (IsULine(sptr->srvptr))