[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Prevent ERC from sending spurious PART messages
From: |
Victor J. Orlikowski |
Subject: |
Re: [PATCH] Prevent ERC from sending spurious PART messages |
Date: |
Thu, 30 Mar 2017 18:18:46 -0400 |
Works for me. Glad to re-submit shortly.
Best,
Victor
--
Victor J. Orlikowski <> address@hidden
> On Mar 30, 2017, at 6:02 PM, Andreas Schwab <address@hidden> wrote:
>
>> On Mär 30 2017, "Victor J. Orlikowski" <address@hidden> wrote:
>>
>> diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
>> index 488404d..357d03c 100644
>> --- a/lisp/erc/erc.el
>> +++ b/lisp/erc/erc.el
>> @@ -6735,9 +6735,10 @@ This function should be on `erc-kill-server-hook'."
>> This function should be on `erc-kill-channel-hook'."
>> (when (erc-server-process-alive)
>> (let ((tgt (erc-default-target)))
>> - (erc-server-send (format "PART %s :%s" tgt
>> - (funcall erc-part-reason nil))
>> - nil tgt))))
>> + (unless (not tgt)
>
> (unless (not)) == (when)
>
> Andreas.
>
> --
> Andreas Schwab, address@hidden
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."