Commit Graph
52 Commits
Author SHA1 Message Date
Elijah Perrault 32158289eb Parse CHANMODES in 005. 2011-02-08 21:13:12 -07:00
Elijah Perrault e4e630c466 Update chanusers on kick. 2011-02-08 21:04:06 -07:00
Elijah Perrault d08c8715f6 Changed the way we handle channels we're in to a nicer method and started on the mode parser. 2011-02-08 20:12:41 -07:00
Elijah Perrault f9662a17d9 Don't create on_nick twice. 2011-02-04 20:48:57 -07:00
Elijah Perrault 3b1aba6195 Privilege to use a command is now handled by the priv arg of cmd_add. 2011-02-04 16:25:56 -07:00
Elijah Perrault 62250648b7 These were for debug purposes and are no longer needed. 2011-02-04 15:42:02 -07:00
Elijah Perrault 34fa7ae191 Parse KICK, added event on_kick and added config option server:autorejoin for rejoining on kick. 2011-02-03 22:58:48 -07:00
Elijah Perrault 28b697a3a5 Parse QUIT and added event on_quit. 2011-02-03 21:45:48 -07:00
Elijah Perrault d3bb112d03 Parse PART and added event on_part. 2011-02-03 20:56:09 -07:00
Elijah Perrault fd87d75692 Update chanusers on JOIN. 2011-02-03 20:33:41 -07:00
Elijah Perrault e061a2ca8c Properly parse NICK and update chanusers. 2011-02-03 20:27:49 -07:00
Elijah Perrault b1ceac2ea6 Bug fix: Fixed broken no-parameter config blocks. 2011-02-02 12:45:48 -07:00
Elijah Perrault ff06548d72 It's a PM, this shouldn't be done. 2011-02-01 21:17:18 -07:00
Elijah Perrault c5e0a9800c * Bug fixes.
* Added mod_exists() to API::Std.
* Added SASL support with modules/SASLAuth.
2011-01-30 15:55:41 -07:00
Elijah Perrault bbc3dfd966 Parse NOTICE and added hook on_notice. 2011-01-29 17:18:28 -07:00
Elijah Perrault 344500bcd7 Added hooks on_uprivmsg and on_cprivmsg. 2011-01-29 17:14:47 -07:00
Elijah Perrault 0090e48ee4 * Module names are now case sensitive.
* Added config option module for auto-loading a module.
2011-01-29 14:34:38 -07:00
Elijah Perrault d60dee11d0 * Fixed a bug in API::Log that caused invalid months.
* Changed how command data is passed to fix a bug.
2011-01-29 01:05:03 -07:00
Elijah Perrault 41d74bd20e * Removed dependency Async.
* Rewrote the socket engine.
* Added cmd_add|del|run() to API::Std for commands.
* Parse PRIVMSG.
2011-01-28 22:36:59 -07:00
Elijah Perrault 6f9a250211 Parse NAME replies (Numeric:353). 2011-01-24 22:10:53 -07:00
Elijah Perrault c1ab769a58 Send $svr too. 2011-01-24 19:21:00 -07:00
Elijah Perrault 53422a7545 Parse Numeric:005 and store PREFIX's data. 2011-01-24 19:16:42 -07:00
Elijah Perrault 1ca0c9a078 * Bug fix: The bot's nick is now stored correctly.
* Added server:modes config option for setting modes on connect.
2011-01-24 18:51:42 -07:00
Elijah Perrault bd547ea64a Use return (to appease PerlCritic) 2011-01-23 23:33:48 -07:00
Elijah Perrault 44908af99c Parse TOPIC. 2011-01-23 23:31:05 -07:00
Elijah Perrault b922617203 Use proper open()'s 2011-01-22 22:32:41 -07:00
Elijah Perrault 94b3569598 Cleaned up the code a bit. 2011-01-21 21:48:20 -07:00
Elijah Perrault dbfde5c33b Fixed a warning I missed and a typo. 2011-01-21 18:58:14 -07:00
Elijah Perrault dda0b7785b Added events on_ucjoin, on_rcjoin and on_nick. 2011-01-21 18:16:28 -07:00
Elijah Perrault 97361c3ec1 Parse numerics 465, 471-475 and 477. 2011-01-21 18:05:46 -07:00
Elijah Perrault 3afdcfd374 Rewrote how we parse what channels the bot is in. 2011-01-21 16:39:10 -07:00
Elijah Perrault 27fbbd9208 * Parse Numeric:438.
* Rewrote how we parse changing the bot's nick.
2011-01-21 16:28:39 -07:00
Elijah Perrault ed65193529 * server:nspass removed. server:idstr added.
* Changed the way we parse strings to support multi-word
      strings in config values.
2011-01-21 00:39:49 -07:00
Elijah Perrault 11806811d3 Added server:nspass to config. Will be replaced in the future by idstr. 2011-01-20 22:47:01 -07:00
Elijah Perrault 512c351577 * Parse NICK.
* Do not import API::IRC subroutines to Parser::IRC, instead use the class.
* Added usrc() to API::IRC for formatting a source.
2011-01-20 21:46:43 -07:00
Elijah Perrault 60ad4803af Import err() 2011-01-20 21:18:32 -07:00
Elijah Perrault 387ab2393b * Parse Numeric:432.
* Delete $botnick var on quit.
2011-01-20 21:16:17 -07:00
Elijah Perrault 7b986d8d87 More comments. 2011-01-20 21:03:51 -07:00
Elijah Perrault 43bcb86d90 * Use nick() for initial NICK.
* Parse Numeric:433.
* Added %botnick for storing the bot's nick.
* Renamed mode() to cmode() in API::IRC's @EXPORT_OK
2011-01-20 20:59:50 -07:00
Elijah Perrault 40db6be9ca Added $got_001 to Parser::IRC for checking if we've been sent 001. 2011-01-20 20:38:09 -07:00
Matthew Barksdale 8e61119354 Make Parser::IRC a bit more clean 2011-01-20 01:59:26 -05:00
Elijah Perrault 5e65bb31e3 Use API::IRC. 2011-01-19 16:04:37 -07:00
Elijah Perrault 3573c7339b * Parse the data.
* Parse PING and Numeric:001.
2011-01-19 15:11:05 -07:00
Elijah Perrault cff3b8662d Begin on the IRC parser. 2011-01-19 14:42:53 -07:00
Elijah Perrault 6e3b69510d Package before use. 2011-01-19 14:39:39 -07:00
Timothy Estes c66f763549 Commenting Notes. This does need a cleanup in future though. Too many tabs. 2011-01-18 20:12:18 -05:00
Elijah Perrault 6906cb3a49 Use English if the language is not found. 2011-01-17 00:01:15 -07:00
Elijah Perrault 45958240f2 New method of translation. 2011-01-14 21:01:44 -07:00
Elijah Perrault 2d7c309c9e No need for this. 2011-01-03 15:10:31 -07:00
Elijah Perrault a47fc18c5d More comments. 2011-01-02 10:22:30 -07:00