From 0f018d02218453a2407a856673ab857bc5b3bb60 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 2 Jun 2003 06:46:40 +0000 Subject: [PATCH] Changed acronym to allow as many acronyms as possible. --- plugins/Http.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/Http.py b/plugins/Http.py index 1b34a4257..1fdec5446 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -303,7 +303,7 @@ class Http(callbacks.Privmsg): def acronym(self, irc, msg, args): """ - Displays the first 5 acronym matches from acronymfinder.com + Displays the first acronym matches from acronymfinder.com """ acronym = privmsgs.getArgs(args) try: @@ -321,8 +321,9 @@ class Http(callbacks.Privmsg): if len(defs) == 0: irc.reply(msg, 'No definitions found.') else: - s = ircutils.privmsgPayload([repr(s.strip()) for s in defs[1:-1]]) - irc.reply(msg, '%s could be %s' % (acronym, s) + s = ircutils.privmsgPayload([repr(s.strip()) for s in defs[1:-1]], + '," or "') + irc.reply(msg, '%s could be "%s"' % (acronym, s) _netcraftre = re.compile(r'whatos text -->(.*?)