From 5fc347f3f005d4b3a27fb27172791b1d379c89c9 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 19 Oct 2004 12:05:30 +0000 Subject: [PATCH] Extra dashes, begone\! --- src/Misc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Misc.py b/src/Misc.py index 585314449..225431cd1 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -456,8 +456,8 @@ class Misc(callbacks.Privmsg): was sent to; --on requires a network the message was sent on; --with requires some string that had to be in the message; --regexp requires a regular expression the message must i match; --nolimit returns all - the messages that can be found. By default, the current channel is - searched. + the messages that can be found. By default, the channel this command is + given in is searched. """ predicates = {} nolimit = False @@ -492,7 +492,7 @@ class Misc(callbacks.Privmsg): else: return arg.search(m.args[1]) predicates.setdefault('regexp', []).append(f) - elif option == '--nolimit': + elif option == 'nolimit': nolimit = True iterable = ifilter(self._validLastMsg, reversed(irc.state.history)) iterable.next() # Drop the first message.