-- 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: e9f1a601a9769ca5448fd51b5de05f45467ec76c:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit e9f1a601a9769ca5448fd51b5de05f45467ec76c
Author: root <root@d3v11.ano>
Date:   Sun Mar 31 00:51:40 2013 +0000

    [urcd] bugfix PART (thanks keiko)

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

index b32ad65ec7947d9509cbce7e6a5b7c354bd21274..

index ..19f568afdd0742381c3c4a02f997d8bc7de1fba2 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -374,9 +374,9 @@ while 1:
           channel_struct[dst]['topic'] = msg

         if cmd == 'part':
-          if src != nick and src in channel_struct[dst]['names']:
-            channel_struct[dst]['names'].remove(src)
-            try_write(wr,buffer)
+          if src != nick:
+            if src in channel_struct[dst]['names']: channel_struct[dst]['names'].remove(src)
+            if dst in channels: try_write(wr,buffer)
           continue

         if src != nick and not src in channel_struct[dst]['names']:

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

-- Response ended

-- Page fetched on Sun Jun 2 18:23:35 2024