Commit Graph

104 Commits

Author SHA1 Message Date
James McCoy 7e05510faa Only use ircmsg.whois's mask argument if it's non-empty.
Closes: Sf#3121298
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:06:31 +01:00
Valentin Lorentz c06b86b13c Bug fixes in src/ircmsgs.py
unbans did send the repr() of the ban list, and IrcMsg.__hash__ did try to hash a list.
2011-07-09 13:42:34 +02:00
James Vega 4a9596608a Include hostmasks in JOIN, PART, QUIT logs.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-02-28 21:17:35 -05:00
Štěpán Němec a66034f852 Fix some typos/wordings.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-26 16:34:12 -04:00
James Vega 7bb3b1ec60 Merge the changes from the python25compat branch into the trunk 2009-03-11 13:37:24 -04:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher 13e1f7ccb9 Added isSplit, a function for checking whether a given QUIT message is a split quit. 2005-02-25 09:59:39 +00:00
Jeremy Fincher e6beec2989 Removed some more unused imports. 2005-02-04 03:11:02 +00:00
James Vega de89bf0265 Update usage of utils.str functions. 2005-01-31 14:52:27 +00:00
James Vega 0a89623b70 Update a couple more imports for the utils split up and fix.py removal. 2005-01-30 15:39:39 +00:00
Jeremy Fincher 5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher 5019d10a1b Updated license years. 2005-01-19 13:33:05 +00:00
Jeremy Fincher 8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00
James Vega dbfec8afb9 Add supybot module 2007-04-22 20:10:26 +00:00
James Vega 5aa41afdcd Add NICK handling to prettyPrint. Prepping for non-PRIVMSG Seen tracking 2004-12-30 02:43:21 +00:00
Jeremy Fincher 6bcae9309e Added error helper function. 2004-12-15 07:01:50 +00:00
Jeremy Fincher 1932ed4d02 Slight bugfix in isCtcp. 2004-12-10 08:48:24 +00:00
Jeremy Fincher ee145e7959 This is a far more reasonable implementation of __len__. 2004-12-04 18:42:48 +00:00
Jeremy Fincher 3f9c699ea2 Fix for bug in IrcMsg.__eq__. 2004-12-03 08:08:07 +00:00
James Vega 241243ba82 Change a couple more ircutils.is* to is* 2004-11-12 16:25:19 +00:00
James Vega cbd5abbab7 A bunch more %r -> %s conversions as well as wrap updates, new policy for
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
Daniel DiPaolo d4b30b6214 Added new behavior for Misc.last when nested - can optionally exclude the nick
and timestamp
2004-10-08 16:00:51 +00:00
James Vega 50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00
Jeremy Fincher 6393faf817 There can be CTCP notices as well. 2004-09-17 03:32:15 +00:00
Jeremy Fincher 9720b79a48 Changed tagging method. 2004-09-16 14:37:08 +00:00
James Vega 51ad408ff3 Use our newly annotated ircmsgs to enhance Misc.last's output. 2004-09-10 06:45:27 +00:00
Jeremy Fincher 91101978d5 Added IrcMsg attribute tagging, and used it in some places. 2004-09-09 15:33:57 +00:00
Jeremy Fincher 0cd0a44e7d I honestly cannot believe that this wasn't caught sooner. 2004-08-30 06:02:57 +00:00
Jeremy Fincher b6b22f7c23 Channel isn't necessary for NAMES. 2004-08-25 22:56:48 +00:00
Jeremy Fincher d1884179b3 Added names function. 2004-08-25 22:50:24 +00:00
Jeremy Fincher fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
Jeremy Fincher d36459ab0b More spelling/capitalization normalization. 2004-08-19 13:33:34 +00:00
Jeremy Fincher 0f598271dc Speeling fixes. 2004-08-18 23:15:27 +00:00
Jeremy Fincher 376e67def3 Added ison. 2004-08-17 16:58:47 +00:00
Jeremy Fincher afc21c2afe Added a comment for something that's easy to forget later. 2004-08-06 06:47:47 +00:00
Jeremy Fincher fbe80ef138 Added limit commands. 2004-07-31 07:24:55 +00:00
James Vega 115a3a88ec move isCtcp to ircmsgs and fix up a couple things with Infobot 2004-07-31 03:45:25 +00:00
Jeremy Fincher a8a95c2ecc Fixed the one-channel bug. 2004-07-30 22:35:51 +00:00
Jeremy Fincher 35bd48b9e8 I thought *args would be a list. Turns out it's not. 2004-07-27 23:33:22 +00:00
Jeremy Fincher 6cc8c29a6b Added dcc, to build dcc privmsgs. 2004-07-27 09:52:14 +00:00
Jeremy Fincher f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher 0c38398a8d Let's just make sure everythings a string. 2004-07-23 04:08:14 +00:00
Jeremy Fincher 4fdc49bb2b Forgot one more newline. 2004-04-30 08:26:13 +00:00
Jeremy Fincher 0c5aaaadde Fix for toXml. 2004-04-30 08:17:14 +00:00
Jeremy Fincher 8274d5dfb9 Fixed strictRfc appropriately. 2004-04-29 11:41:05 +00:00
Jeremy Fincher fb46330ee7 Allowed for strings in ircmsgs.mode. 2004-04-27 10:50:53 +00:00
Jeremy Fincher bd1dedb8e9 Added toXml. 2004-04-22 05:11:20 +00:00
James Vega 4b32a206c4 Add Seen trackers for PART, JOIN, QUIT (and fix ircmsgs.prettyPrint for QUIT) 2004-02-29 21:13:20 +00:00
Jeremy Fincher de512b24de Guarded asserts with strictRfc. 2004-02-24 11:21:12 +00:00