extensions: no more TS5.
This commit is contained in:
parent
a4857d780f
commit
9721c67622
|
@ -59,9 +59,6 @@ distribute_hostchange(struct Client *client)
|
||||||
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(&me), use_id(client), client->host);
|
use_id(&me), use_id(client), client->host);
|
||||||
sendto_server(NULL, NULL,
|
|
||||||
NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s",
|
|
||||||
me.name, client->name, client->host);
|
|
||||||
if (irccmp(client->host, client->orighost))
|
if (irccmp(client->host, client->orighost))
|
||||||
SetDynSpoof(client);
|
SetDynSpoof(client);
|
||||||
else
|
else
|
||||||
|
|
|
@ -59,9 +59,6 @@ distribute_hostchange(struct Client *client)
|
||||||
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(&me), use_id(client), client->host);
|
use_id(&me), use_id(client), client->host);
|
||||||
sendto_server(NULL, NULL,
|
|
||||||
NOCAPS, CAP_TS6, ":%s ENCAP * CHGHOST %s :%s",
|
|
||||||
me.name, client->name, client->host);
|
|
||||||
if (irccmp(client->host, client->orighost))
|
if (irccmp(client->host, client->orighost))
|
||||||
SetDynSpoof(client);
|
SetDynSpoof(client);
|
||||||
else
|
else
|
||||||
|
|
|
@ -105,9 +105,6 @@ mo_ojoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
||||||
":%s SJOIN %ld %s + :@%s",
|
":%s SJOIN %ld %s + :@%s",
|
||||||
me.id, (long) chptr->channelts, chptr->chname, source_p->id);
|
me.id, (long) chptr->channelts, chptr->chname, source_p->id);
|
||||||
sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s SJOIN %ld %s + :@%s",
|
|
||||||
me.name, (long) chptr->channelts, chptr->chname, source_p->name);
|
|
||||||
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
|
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
|
||||||
source_p->name,
|
source_p->name,
|
||||||
source_p->username, source_p->host, chptr->chname);
|
source_p->username, source_p->host, chptr->chname);
|
||||||
|
@ -121,9 +118,6 @@ mo_ojoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
||||||
":%s SJOIN %ld %s + :+%s",
|
":%s SJOIN %ld %s + :+%s",
|
||||||
me.id, (long) chptr->channelts, chptr->chname, source_p->id);
|
me.id, (long) chptr->channelts, chptr->chname, source_p->id);
|
||||||
sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s SJOIN %ld %s + :+%s",
|
|
||||||
me.name, (long) chptr->channelts, chptr->chname, source_p->name);
|
|
||||||
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
|
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
|
||||||
source_p->name,
|
source_p->name,
|
||||||
source_p->username, source_p->host, chptr->chname);
|
source_p->username, source_p->host, chptr->chname);
|
||||||
|
@ -136,9 +130,6 @@ mo_ojoin(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
||||||
":%s JOIN %ld %s +",
|
":%s JOIN %ld %s +",
|
||||||
source_p->id, (long) chptr->channelts, chptr->chname);
|
source_p->id, (long) chptr->channelts, chptr->chname);
|
||||||
sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s SJOIN %ld %s + :%s",
|
|
||||||
me.name, (long) chptr->channelts, chptr->chname, source_p->name);
|
|
||||||
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
|
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s JOIN %s",
|
||||||
source_p->name,
|
source_p->name,
|
||||||
source_p->username, source_p->host, chptr->chname);
|
source_p->username, source_p->host, chptr->chname);
|
||||||
|
|
|
@ -136,8 +136,6 @@ mo_okick(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
me.name, chptr->chname, who->name, comment);
|
me.name, chptr->chname, who->name, comment);
|
||||||
sendto_server(&me, chptr, CAP_TS6, NOCAPS,
|
sendto_server(&me, chptr, CAP_TS6, NOCAPS,
|
||||||
":%s KICK %s %s :%s", me.id, chptr->chname, who->id, comment);
|
":%s KICK %s %s :%s", me.id, chptr->chname, who->id, comment);
|
||||||
sendto_server(&me, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s KICK %s %s :%s", me.name, chptr->chname, who->name, comment);
|
|
||||||
remove_user_from_channel(msptr);
|
remove_user_from_channel(msptr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,9 +140,6 @@ mo_omode(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
":%s TMODE %ld %s +o %s",
|
":%s TMODE %ld %s +o %s",
|
||||||
me.id, (long) chptr->channelts, parv[1],
|
me.id, (long) chptr->channelts, parv[1],
|
||||||
source_p->id);
|
source_p->id);
|
||||||
sendto_server(NULL, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s MODE %s +o %s",
|
|
||||||
me.name, parv[1], source_p->name);
|
|
||||||
msptr->flags |= CHFL_CHANOP;
|
msptr->flags |= CHFL_CHANOP;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -104,13 +104,9 @@ mo_opme(struct Client *client_p, struct Client *source_p, int parc, const char *
|
||||||
":%s WALLOPS :OPME called for [%s] by %s!%s@%s",
|
":%s WALLOPS :OPME called for [%s] by %s!%s@%s",
|
||||||
me.name, parv[1], source_p->name, source_p->username, source_p->host);
|
me.name, parv[1], source_p->name, source_p->username, source_p->host);
|
||||||
sendto_server(NULL, chptr, CAP_TS6, NOCAPS, ":%s PART %s", source_p->id, parv[1]);
|
sendto_server(NULL, chptr, CAP_TS6, NOCAPS, ":%s PART %s", source_p->id, parv[1]);
|
||||||
sendto_server(NULL, chptr, NOCAPS, CAP_TS6, ":%s PART %s", source_p->name, parv[1]);
|
|
||||||
sendto_server(NULL, chptr, CAP_TS6, NOCAPS,
|
sendto_server(NULL, chptr, CAP_TS6, NOCAPS,
|
||||||
":%s SJOIN %ld %s + :@%s",
|
":%s SJOIN %ld %s + :@%s",
|
||||||
me.id, (long) chptr->channelts, parv[1], source_p->id);
|
me.id, (long) chptr->channelts, parv[1], source_p->id);
|
||||||
sendto_server(NULL, chptr, NOCAPS, CAP_TS6,
|
|
||||||
":%s SJOIN %ld %s + :@%s",
|
|
||||||
me.name, (long) chptr->channelts, parv[1], source_p->name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sendto_channel_local(ALL_MEMBERS, chptr,
|
sendto_channel_local(ALL_MEMBERS, chptr,
|
||||||
|
|
Loading…
Reference in New Issue