diff --git a/src/privmsgs.py b/src/privmsgs.py index 700be577c..452b74cac 100644 --- a/src/privmsgs.py +++ b/src/privmsgs.py @@ -174,6 +174,8 @@ class SnarfQueue(ircutils.FloodQueue): _snarfed = SnarfQueue() +# This lock is used to serialize the calls to snarfers, so earlier snarfers are +# guaranteed to beat out later snarfers. _snarfLock = threading.Lock() def urlSnarfer(f): """Protects the snarfer from loops and whatnot."""