Let's not default to just the network Misc.last was called on. It's kinda

counter-intuitive.
This commit is contained in:
James Vega 2004-09-23 16:08:11 +00:00
parent 94f80e5773
commit 19b2e37dad

View File

@ -472,7 +472,6 @@ class Misc(callbacks.Privmsg):
if ircutils.isChannel(msg.args[0]): if ircutils.isChannel(msg.args[0]):
predicates['in'] = lambda m: ircutils.strEqual(m.args[0], predicates['in'] = lambda m: ircutils.strEqual(m.args[0],
msg.args[0]) msg.args[0])
predicates['on'] = lambda m: m.receivedOn == msg.receivedOn
for (option, arg) in optlist: for (option, arg) in optlist:
if option == '--from': if option == '--from':
def f(m, arg=arg): def f(m, arg=arg):