mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
if 0 some things out
This commit is contained in:
parent
359407245d
commit
b8c16fdaba
1 changed files with 2 additions and 0 deletions
|
@ -128,12 +128,14 @@ part_one_client(struct Client *client_p, struct Client *source_p, char *name, ch
|
||||||
(source_p->localClient->firsttime +
|
(source_p->localClient->firsttime +
|
||||||
ConfigFileEntry.anti_spam_exit_message_time) < rb_current_time()))))
|
ConfigFileEntry.anti_spam_exit_message_time) < rb_current_time()))))
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if(chptr->mode.mode & MODE_NOCOLOR)
|
if(chptr->mode.mode & MODE_NOCOLOR)
|
||||||
{
|
{
|
||||||
rb_strlcpy(reason2, reason, BUFSIZE);
|
rb_strlcpy(reason2, reason, BUFSIZE);
|
||||||
strip_colour(reason2);
|
strip_colour(reason2);
|
||||||
reason = reason2;
|
reason = reason2;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
|
||||||
":%s PART %s :%s", use_id(source_p), chptr->chname, reason);
|
":%s PART %s :%s", use_id(source_p), chptr->chname, reason);
|
||||||
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s :%s",
|
sendto_channel_local(ALL_MEMBERS, chptr, ":%s!%s@%s PART %s :%s",
|
||||||
|
|
Loading…
Reference in a new issue