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

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit c9e45c14011faf4c9d8b5f994205bc98cac1f4a7
Author: root <root@administrator.(none)>
Date:   Thu Jan 30 23:50:11 2014 +0000

    [src/urcd.pyx] antiflood bugfix (thanks lulzPrincess <3)

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

index bd013767f86cd9f6de9af76128fbe0cf4fc8e1cc..

index ..f32c1d916cd4d2b91949346ff8c105885e4d6ee3 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -356,7 +356,7 @@ while 1:

     elif re_CLIENT_PRIVMSG_NOTICE_TOPIC_PART(buffer):
       if FLOOD:
-        flood += 1
+        flood += 1 + LIMIT
         if flood >= FLOOD:
           try_write(wr,':'+serv+' NOTICE '+Nick+' :RPL_SPAM\n')
           continue

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

-- Response ended

-- Page fetched on Sun Jun 2 17:38:52 2024