Commit Graph

268 Commits

Author SHA1 Message Date
Digital-Lemon 51ef07caf5 Added Irc objects creation time 2012-06-30 02:32:49 +02:00
James McCoy 438b50dccc irclib: Modes aren't case insenstive
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-06-06 13:38:38 +02:00
Valentin Lorentz e92b8a62f5 Merge supybot's master (will make future merges easier)
Conflicts:
	plugins/Misc/plugin.py
	plugins/String/plugin.py
	src/drivers/Socket.py
	src/irclib.py
	src/ircutils.py
2012-04-03 16:55:29 +02:00
nyuszika7h c656abf096 irclib.py: Add network name to 'Outgoing message' debug log message 2011-12-28 11:37:10 +01:00
James McCoy d9531d2d29 Fix parsing of 004 message for supported umodes/chanmodes
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-14 01:31:28 +08:00
James McCoy b8c43dc5cc Perform all received* IrcMsg tagging in one spot.
This also fixes a long-standing failing Misc test since it was relying on the
receivedAt tag.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:06:26 +01:00
James McCoy ca23cbb774 Merge branch 'maint/0.83.4' 2011-12-06 01:18:18 -05:00
James McCoy 4ddfae427f Perform all received* IrcMsg tagging in one spot.
This also fixes a long-standing failing Misc test since it was relying on the
receivedAt tag.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 23:52:38 -05:00
James McCoy 8b73f78b3e Merge branch 'maint/0.83.4'
Conflicts:
	plugins/Misc/plugin.py
	src/ircutils.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:26:19 -05:00
James McCoy 4833976294 One last fix to umode filtering.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:10:16 -05:00
Valentin Lorentz b5187ea31d Fix commit b23480b9 again. 2011-11-12 00:39:08 +01:00
Valentin Lorentz efd158da58 Fix commit b23480b9. Closes GH-267. 2011-11-11 23:50:55 +01:00
Valentin Lorentz 348d1bd99c Fix typo (lamda => lambda). 2011-11-11 19:56:20 +01:00
James McCoy d6336421e0 Fix IRC.do376's handling of supported state
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-07 05:58:48 -05:00
James McCoy 4232e40e26 Fix parsing of 004 message for supported umodes/chanmodes
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-07 05:58:27 -05:00
James McCoy 3bfda3cc7a Fix filtering of unsupported umodes
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-06 22:20:55 -05:00
Valentin Lorentz 74b98f5c2a Merge remote-tracking branch 'supybot/master' into testing 2011-10-31 22:07:48 +01:00
James McCoy 02c0d0ce3c Merge branch 'check-umodes' 2011-10-29 17:25:57 -04:00
James McCoy b23480b915 irclib: Filter out unsupported umodes before sending them to the server
Closes: Sf#3075891
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-29 17:22:42 -04:00
James McCoy c9e548bdd9 irclib: Add support for 004 messages from the server
At a minimum, the message gives us the server name, ircd version, supported
umodes, and supported channel modes.  Add the umodes and channel modes to
self.supported.

Some IRCds (e.g., hybrid and ircd-seven) have an extra arg which seems to be
the channel modes that require arguments.

Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-29 17:22:27 -04:00
Valentin Lorentz e253fe1543 Allow network-specific nicks. Closes GH-134. 2011-10-27 12:31:37 +02:00
nyuszika7h ca502c6814 irclib.py: Added network name to SASL authentication success/fail. 2011-09-13 19:55:01 +02:00
nyuszika7h dcaefbdcf5 Add SASL support to core. 2011-09-13 11:07:52 +02:00
Jeremy Fincher b774268498 Added network to debug "Incoming message" log. 2009-12-28 12:17:27 -06:00
James Vega 56ba12aa4b Add support for UltimateIRCd's ! (protected) user mode.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-23 19:20:02 -04: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
Jeremy Fincher fa9a9cb04d Ensured logging of error messages with unrecognized numeric codes. Fixes SR #1859821, but nothing can rectify freenode's idiocy completely. 2009-03-12 14:04:55 -05:00
Jeremy Fincher 9f3bc9d355 IrcCallback's super() doesn't take any args. 2009-03-11 13:37:25 -04:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Jeremy Fincher dca3a3c099 Minor style tweak. 2006-01-12 03:57:10 +00:00
James Vega 0b83f017d9 src/irclib.py: Document the protected/channel owner patch 2005-11-30 16:02:09 +00:00
Marius Rieder cbb5b7aaa2 protect_and_chanowner_in_unrealircd
Add protectet users (&) und the channelowner (~) used in unrealircd to the ops list.
2005-11-01 04:49:23 +00:00
Jeremy Fincher 603cab6b0a Loaded plugins during __init__ rather than do001. 2005-08-15 05:37:05 +00:00
Jeremy Fincher 27656e5fef Added a few more asserts and clarified an already existing one. 2005-08-15 05:36:23 +00:00
James Vega a3149f0ec0 src/irclib: If the post-inFilter message differs from the pre-inFilter message, log it for debugging purposes. 2005-08-04 21:19:41 +00:00
James Vega 6f8e3d37aa src/irclib: Let's not override the name for the set type. 2005-07-10 18:27:40 +00:00
James Vega bd31b7f596 src/irclib: Handle IRCds which use a MAXLIST-style value for the MAXBANS 005 key. 2005-06-29 14:20:54 +00:00
Jeremy Fincher 4e4c23a781 Removed the "All channels synced ..." message since it's not entirely accurate with our new JOIN ratelimiting. 2005-05-18 14:35:57 +00:00
Jeremy Fincher 9aaba996b3 Changed log message for 433 to be more accurate when a 432 is encountered. 2005-05-18 05:23:38 +00:00
Jeremy Fincher 0b848199b5 Fixed some style issues with logging calls. 2005-05-18 04:18:35 +00:00
Jeremy Fincher 1d357dd470 Some more slight tweaks to the MetaFirewall implementation and stuff. 2005-05-15 17:08:02 +00:00
Jeremy Fincher 2861b5a334 Fixed some uselessness in log.MetaFirewall and removed an attribute that shouldn't be firewalled (it was vestigial). 2005-05-15 16:50:10 +00:00
Jeremy Fincher b48ca7ab71 Added supybot.protocols.irc.queuing.rateLimit.join, to throttle joins. 2005-04-14 01:35:35 +00:00
Jeremy Fincher 73f639b55f Changed supybot.protocols.irc.refuseToQueueDuplicateMessages to supybot.protocols.irc.queuing.duplicates. 2005-04-14 00:56:26 +00:00
Jeremy Fincher 0773aa31e5 Made Proxy Irc objects map to the same dictionary slot, so we don't need to worry about calling getRealIrc all the time. 2005-03-28 13:00:37 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega aefcd594df Move structures to utils/ 2005-03-12 18:01:47 +00:00
Jeremy Fincher 51637b3b00 Forgot this from the nested plugins changes. 2005-02-28 07:59:46 +00:00
James Vega 2408457221 Fix a bug with a missing argument for string formatting. 2005-02-23 16:40:21 +00:00
James Vega 90c000793d utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace. 2005-02-15 13:57:57 +00:00