Commits

Jason Kendall committed c0f7a19

Full fix for jaraco/irc issue 18

Comments (0)

Files changed (1)

         elapsed = time.time() - self.start
         must_wait = next(self.calls) / self.max_rate - elapsed
         time.sleep(max(0, must_wait))
-        return self.func()
+        return self.func(args[0])
 
 class DCCConnectionError(IRCError):
     pass