-- 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: 3ba706abd92f249ff03083f1832ade46a2c0ee58:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 3ba706abd92f249ff03083f1832ade46a2c0ee58
Author: root <root@d3v11.ano>
Date:   Sun Mar 24 06:18:16 2013 +0000

    [urcd] bugfix fake KICK, [urc2sd] vanity

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

index 301c0c0cd6cf9f8ad7dab7774ee2b2fc17887cef..

index ..e7332045a5cbfad6328667f5b741de07a82917d7 100644

--- a/src/urc2sd.pyx
+++ b/src/urc2sd.pyx
@@ -182,8 +182,7 @@ while 1:

     elif re.search('^:['+RE+']+![~'+RE+'.]+@['+RE+'.]+ INVITE '+re.escape(nick).upper()+' :#['+RE+']+$',buffer.upper()):
       dst = buffer[1:].split(':',1)[1].lower()
-      if not dst in channels:
-        try_write(wr,'JOIN '+dst+'\n')
+      if not dst in channels: try_write(wr,'JOIN '+dst+'\n')

   if INIT:
     INIT()
diff --git a/src/urcd.pyx b/src/urcd.pyx

index 7a4728a25039983c66a3cff6d3502f33786f39cc..

index ..b32ad65ec7947d9509cbce7e6a5b7c354bd21274 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -480,9 +480,7 @@ while 1:
         )

       if src != nick:
-
-        for dst in channel_struct.keys():
-          if src in channel_struct[dst]['names']:
-            channel_struct[dst]['names'].remove(src)
-
-        if re_SPLIT(buffer,3)[2].lower() in channels: try_write(wr,buffer)
+        dst = re_SPLIT(buffer,3)[2].lower()
+        if src in channel_struct[dst]['names']:
+          channel_struct[dst]['names'].remove(src)
+          if dst in channels: try_write(wr,buffer)

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

-- Response ended

-- Page fetched on Sun Jun 2 14:52:39 2024