cooper / juno

a seriously modern IRC daemon written from scratch in Perl. designed to be ridiculously extensible, painlessly reloadable, and excessively configurable
https://juno.mitchellcooper.me
ISC License
15 stars 4 forks source link

Send KILL message to user #150

Closed cooper closed 7 years ago

cooper commented 7 years ago

From charybdis:

    if(MyConnect(target_p))
    {
        if(IsServer(source_p))
        {
            sendto_one(target_p, ":%s KILL %s :%s",
                   source_p->name, target_p->name, reason);
        }
        else
            sendto_one(target_p, ":%s!%s@%s KILL %s :%s",
                   source_p->name, source_p->username, source_p->host,
                   target_p->name, reason);
    }