-- 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: 80b65e56c4981b7d50fe83ecc687615af13d20cb:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 80b65e56c4981b7d50fe83ecc687615af13d20cb
Author: root <root@d3v11.ano>
Date:   Thu Jan 24 20:54:07 2013 +0000

    [urcd] less

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

index 1fb31be3371535d9d0c6fdec0bb6bacfa76717ad..

index ..8705cab7d327b17633cf86ea0c80fba4e490eb58 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -423,12 +423,12 @@ while 1:

         if cmd == 'PART':

-          if src != nick.lower() and src in channel_struct[dst]['names']:
+          if src != nick and src in channel_struct[dst]['names']:
             channel_struct[dst]['names'].remove(src)
             os.write(wr,buffer)
           continue

-        if src != nick.lower() and not src in channel_struct[dst]['names']:
+        if src != nick and not src in channel_struct[dst]['names']:

           if dst in channels:

@@ -436,7 +436,7 @@ while 1:

             if len(channel_struct[dst]['names'])==CHANLIMIT:

-              if nick.lower() != channel_struct[dst]['names'][0].lower():
+              if nick != channel_struct[dst]['names'][0]:
                 os.write(wr,':'+channel_struct[dst]['names'][0]+'!'+channel_struct[dst]['names'][0]+'@'+serv+' PART '+dst+'\n')
               else:
                 channel_struct[dst]['names'].append(nick)
@@ -446,7 +446,7 @@ while 1:
       elif cmd == 'PART':
         continue

-      if dst == nick.lower() or dst in channels:
+      if dst == nick or dst in channels:
         os.write(wr,buffer)

     # JOIN
@@ -479,7 +479,7 @@ while 1:
           names             = collections.deque([],CHANLIMIT),
         )

-      if src != nick.lower() and not src in channel_struct[dst]['names']:
+      if src != nick and not src in channel_struct[dst]['names']:

         if dst in channels:

@@ -487,7 +487,7 @@ while 1:

           if len(channel_struct[dst]['names'])==CHANLIMIT:

-            if nick.lower() != channel_struct[dst]['names'][0].lower():
+            if nick != channel_struct[dst]['names'][0]:
               os.write(wr,':'+channel_struct[dst]['names'][0]+'!'+channel_struct[dst]['names'][0]+'@'+serv+' PART '+dst+'\n')
             else:
               channel_struct[dst]['names'].append(nick)
@@ -499,7 +499,7 @@ while 1:

       src = buffer.split(':',2)[1].split('!',1)[0].lower()

-      if src == nick.lower():
+      if src == nick:
         continue

       if len(src)>NICKLEN:
@@ -546,7 +546,7 @@ while 1:
           names             = collections.deque([],CHANLIMIT),
         )

-      if src != nick.lower():
+      if src != nick:

         for dst in channel_struct.keys():

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

-- Response ended

-- Page fetched on Sun Jun 2 16:29:50 2024