Changed a debug.printf to a debug.msg.

This commit is contained in:
Jeremy Fincher 2003-05-29 16:37:03 +00:00
parent 97ce807088
commit db4495111c

View File

@ -109,7 +109,7 @@ class RateLimiter:
def put(self, msg): def put(self, msg):
if self.limit(msg) and not world.testing: if self.limit(msg) and not world.testing:
debug.printf('Limiting message from %s' % msg.prefix) debug.msg('Limiting message from %s' % msg.prefix, 'low')
self.limited.append(msg) self.limited.append(msg)
else: else:
self.unlimited.append(msg) self.unlimited.append(msg)
@ -464,7 +464,7 @@ class PrivmsgRegexp(Privmsg):
self.callCommand(method, irc, msg, m) self.callCommand(method, irc, msg, m)
class Combine: class Combine(Privmsg):
classes = [] # Override in a subclass. classes = [] # Override in a subclass.
def __getattr__(self, attr): def __getattr__(self, attr):
for instance in self.instances: for instance in self.instances: