mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Merge branch 'master' of git+ssh://supybot.git.sourceforge.net/gitroot/supybot/supybot
This commit is contained in:
commit
67c8554864
@ -774,7 +774,7 @@ class Irc(IrcCommandDispatcher):
|
||||
else:
|
||||
channel = None
|
||||
preInFilter = str(msg).rstrip('\r\n')
|
||||
log.debug('Incoming message: %s', preInFilter)
|
||||
log.debug('Incoming message (%s): %s', self.network, preInFilter)
|
||||
|
||||
# Yeah, so this is odd. Some networks (oftc) seem to give us certain
|
||||
# messages with our nick instead of our prefix. We'll fix that here.
|
||||
|
@ -539,7 +539,10 @@ class FloodQueue(object):
|
||||
repr(self.queues))
|
||||
|
||||
def key(self, msg):
|
||||
return msg.user + '@' + msg.host
|
||||
# This really ought to be configurable without subclassing, but for
|
||||
# now, it works.
|
||||
# used to be msg.user + '@' + msg.host but that was too easily abused.
|
||||
return msg.host
|
||||
|
||||
def getTimeout(self):
|
||||
if callable(self.timeout):
|
||||
|
Loading…
Reference in New Issue
Block a user