mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
modules: no more TS5
This commit is contained in:
parent
d38d07f030
commit
169c767d3d
7 changed files with 0 additions and 28 deletions
|
@ -84,8 +84,6 @@ m_away(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
||||||
/* we now send this only if they were away before --is */
|
/* we now send this only if they were away before --is */
|
||||||
sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
|
sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
|
||||||
":%s AWAY", use_id(source_p));
|
":%s AWAY", use_id(source_p));
|
||||||
sendto_server(client_p, NULL, NOCAPS, CAP_TS6,
|
|
||||||
":%s AWAY", source_p->name);
|
|
||||||
free_away(source_p);
|
free_away(source_p);
|
||||||
}
|
}
|
||||||
if(MyConnect(source_p))
|
if(MyConnect(source_p))
|
||||||
|
@ -100,8 +98,6 @@ m_away(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
||||||
rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
|
rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
|
||||||
sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
|
sendto_server(client_p, NULL, CAP_TS6, NOCAPS,
|
||||||
":%s AWAY :%s", use_id(source_p), source_p->user->away);
|
":%s AWAY :%s", use_id(source_p), source_p->user->away);
|
||||||
sendto_server(client_p, NULL, NOCAPS, CAP_TS6,
|
|
||||||
":%s AWAY :%s", source_p->name, source_p->user->away);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
|
rb_strlcpy(source_p->user->away, parv[1], AWAYLEN);
|
||||||
|
|
|
@ -161,9 +161,6 @@ ms_chghost(struct Client *client_p, struct Client *source_p,
|
||||||
sendto_server(client_p, NULL,
|
sendto_server(client_p, NULL,
|
||||||
CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s",
|
CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s",
|
||||||
use_id(source_p), use_id(target_p), parv[2]);
|
use_id(source_p), use_id(target_p), parv[2]);
|
||||||
sendto_server(client_p, NULL,
|
|
||||||
NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s",
|
|
||||||
source_p->name, target_p->name, parv[2]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -233,9 +230,6 @@ mo_chghost(struct Client *client_p, struct Client *source_p,
|
||||||
sendto_server(NULL, NULL,
|
sendto_server(NULL, NULL,
|
||||||
CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s",
|
CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s",
|
||||||
use_id(source_p), use_id(target_p), parv[2]);
|
use_id(source_p), use_id(target_p), parv[2]);
|
||||||
sendto_server(NULL, NULL,
|
|
||||||
NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s",
|
|
||||||
source_p->name, target_p->name, parv[2]);
|
|
||||||
#else
|
#else
|
||||||
sendto_one_numeric(source_p, ERR_DISABLED, form_str(ERR_DISABLED),
|
sendto_one_numeric(source_p, ERR_DISABLED, form_str(ERR_DISABLED),
|
||||||
"CHGHOST");
|
"CHGHOST");
|
||||||
|
|
|
@ -235,9 +235,6 @@ ms_connect(struct Client *client_p, struct Client *source_p, int parc, const cha
|
||||||
sendto_server(NULL, NULL, CAP_TS6, NOCAPS,
|
sendto_server(NULL, NULL, CAP_TS6, NOCAPS,
|
||||||
":%s WALLOPS :Remote CONNECT %s %d from %s",
|
":%s WALLOPS :Remote CONNECT %s %d from %s",
|
||||||
me.id, parv[1], port, source_p->name);
|
me.id, parv[1], port, source_p->name);
|
||||||
sendto_server(NULL, NULL, NOCAPS, CAP_TS6,
|
|
||||||
":%s WALLOPS :Remote CONNECT %s %d from %s",
|
|
||||||
me.name, parv[1], port, source_p->name);
|
|
||||||
|
|
||||||
ilog(L_SERVER, "CONNECT From %s : %s %d", source_p->name, parv[1], port);
|
ilog(L_SERVER, "CONNECT From %s : %s %d", source_p->name, parv[1], port);
|
||||||
|
|
||||||
|
|
|
@ -224,8 +224,6 @@ me_rsfnc(struct Client *client_p, struct Client *source_p,
|
||||||
add_history(target_p, 1);
|
add_history(target_p, 1);
|
||||||
sendto_server(NULL, NULL, CAP_TS6, NOCAPS, ":%s NICK %s :%ld",
|
sendto_server(NULL, NULL, CAP_TS6, NOCAPS, ":%s NICK %s :%ld",
|
||||||
use_id(target_p), parv[2], (long) target_p->tsinfo);
|
use_id(target_p), parv[2], (long) target_p->tsinfo);
|
||||||
sendto_server(NULL, NULL, NOCAPS, CAP_TS6, ":%s NICK %s :%ld",
|
|
||||||
target_p->name, parv[2], (long) target_p->tsinfo);
|
|
||||||
|
|
||||||
del_from_client_hash(target_p->name, target_p);
|
del_from_client_hash(target_p->name, target_p);
|
||||||
strcpy(target_p->name, parv[2]);
|
strcpy(target_p->name, parv[2]);
|
||||||
|
|
|
@ -431,9 +431,6 @@ send_signon(struct Client *client_p, struct Client *target_p,
|
||||||
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s SIGNON %s %s %s %ld %s",
|
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s SIGNON %s %s %s %ld %s",
|
||||||
use_id(target_p), nick, user, host,
|
use_id(target_p), nick, user, host,
|
||||||
(long) target_p->tsinfo, *login ? login : "0");
|
(long) target_p->tsinfo, *login ? login : "0");
|
||||||
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s SIGNON %s %s %s %ld %s",
|
|
||||||
target_p->name, nick, user, host,
|
|
||||||
(long) target_p->tsinfo, *login ? login : "0");
|
|
||||||
|
|
||||||
strcpy(target_p->user->suser, login);
|
strcpy(target_p->user->suser, login);
|
||||||
|
|
||||||
|
|
|
@ -108,10 +108,6 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
|
||||||
":%s TOPIC %s :%s",
|
":%s TOPIC %s :%s",
|
||||||
use_id(source_p), chptr->chname,
|
use_id(source_p), chptr->chname,
|
||||||
chptr->topic == NULL ? "" : chptr->topic);
|
chptr->topic == NULL ? "" : chptr->topic);
|
||||||
sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s TOPIC %s :%s",
|
|
||||||
source_p->name, chptr->chname,
|
|
||||||
chptr->topic == NULL ? "" : chptr->topic);
|
|
||||||
sendto_channel_local(ALL_MEMBERS,
|
sendto_channel_local(ALL_MEMBERS,
|
||||||
chptr, ":%s!%s@%s TOPIC %s :%s",
|
chptr, ":%s!%s@%s TOPIC %s :%s",
|
||||||
source_p->name, source_p->username,
|
source_p->name, source_p->username,
|
||||||
|
|
|
@ -71,8 +71,6 @@ mo_operwall(struct Client *client_p, struct Client *source_p, int parc, const ch
|
||||||
sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", parv[1]);
|
sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", parv[1]);
|
||||||
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s OPERWALL :%s",
|
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s OPERWALL :%s",
|
||||||
use_id(source_p), parv[1]);
|
use_id(source_p), parv[1]);
|
||||||
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s OPERWALL :%s",
|
|
||||||
source_p->name, parv[1]);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -88,8 +86,6 @@ ms_operwall(struct Client *client_p, struct Client *source_p, int parc, const ch
|
||||||
{
|
{
|
||||||
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s OPERWALL :%s",
|
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s OPERWALL :%s",
|
||||||
use_id(source_p), parv[1]);
|
use_id(source_p), parv[1]);
|
||||||
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s OPERWALL :%s",
|
|
||||||
source_p->name, parv[1]);
|
|
||||||
sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", parv[1]);
|
sendto_wallops_flags(UMODE_OPERWALL, source_p, "OPERWALL - %s", parv[1]);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -124,8 +120,6 @@ ms_wallops(struct Client *client_p, struct Client *source_p, int parc, const cha
|
||||||
|
|
||||||
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s WALLOPS :%s",
|
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s WALLOPS :%s",
|
||||||
use_id(source_p), parv[1]);
|
use_id(source_p), parv[1]);
|
||||||
sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s WALLOPS :%s",
|
|
||||||
source_p->name, parv[1]);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue