-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: urcd
action: commit
revision:
path_from:
revision_from: 3bb9912a4ffe6864b6de866a2dc60e1ce02de205:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 3bb9912a4ffe6864b6de866a2dc60e1ce02de205
Author: root <root@localhost.(none)>
Date:   Sun Dec 28 09:00:44 2014 +0000

    [urcd] update for sock_close()

diff --git a/src/urcd.pyx b/src/urcd.pyx

index 22a876f1ae6b2218d18c0c1b8a0254db94ea0dd5..

index ..21a10a331e80fd912a521ac0b9043126db467597 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -191,7 +191,8 @@ def sock_close(sn,sf):
  except: pass
  if sn:
   if URCDB:
-   for dst in channels: channel_struct[dst]['names'].remove(nick)
+   for dst in channels:
+    if nick in channel_struct[dst]['names']: channel_struct[dst]['names'].remove(nick)
    db['channel_struct'] = channel_struct
    db['active_clients'] = active_clients
    db['Mask'] = Mask

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:43:31 2024