Commit Graph
100 Commits
Author SHA1 Message Date
Elijah Perrault 41fb41eda0 Remove this check as it prevents from Bit.ly Pro Custom URLs. 2011-02-01 20:22:18 -07:00
Elijah Perrault 0adcdf4b8f Cleanup. 2011-02-01 20:02:42 -07:00
Elijah Perrault dbc7c581ce LWP::UserAgent is not core. 2011-02-01 19:28:24 -07:00
Elijah Perrault eb89933245 Fixed a nasty CPU leak when Auto's running in debug get disconnected. 2011-02-01 19:16:47 -07:00
Elijah Perrault e2494dad62 Merge branch 'indev' of github.com:Xelhua/Auto into indev 2011-02-01 19:09:26 -07:00
Elijah Perrault 4dd3dbd09b Added Core::IRC, a CTCP version reply and fixed the NAME,VER,SVER,REV,RSTAGE constants. 2011-02-01 19:08:59 -07:00
Elijah Perrault 4b4f805c8f LWP::UserAgent is included with perl by default. 2011-02-01 16:21:57 -07:00
Elijah Perrault 18fd96e5d9 Indent this. 2011-02-01 16:06:12 -07:00
Elijah Perrault 46909e7cf8 Updated. 2011-02-01 15:50:22 -07:00
Elijah Perrault 773543b98a Bitly: Fixed typos, errors, cleaned up code, added docs and comments, etc. 2011-02-01 15:45:40 -07:00
Elijah Perrault 009671b70f Updated example config. 2011-01-31 22:43:10 -07:00
Elijah Perrault 48bbfe3839 Updated for 3.0 Alpha 1 release. 2011-01-31 22:12:44 -07:00
Elijah Perrault 7a71b5a50a Added array number to mdelete() arguments. 2011-01-30 19:16:26 -07:00
Elijah Perrault 049ef3f4bf Typos. /me slaps alyx 2011-01-30 18:04:02 -07:00
Elijah Perrault 0b9688f63f Fixed typos. 2011-01-30 16:36:33 -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 234bb6a0cd Added mdelete() to DB/Flatfile. 2011-01-30 14:39:19 -07:00
Elijah Perrault 7c9f2c1781 Changed to 3.0d. 2011-01-30 14:11:49 -07:00
Elijah Perrault 1260a3edad Added topic() to API::IRC. 2011-01-30 13:43:15 -07:00
Elijah Perrault a0e47e497d Fixed a typo. 2011-01-30 13:38:45 -07:00
Elijah Perrault 026c2e02db Oops. 2011-01-30 13:36:35 -07:00
Elijah Perrault a22ee16ffb * Added has_priv() to API::Std.
* Finished the host-based privilege/permission system.
* Fixed some typos.
2011-01-30 13:31:16 -07:00
Elijah Perrault fe30643e02 unless is ugly, in this case. 2011-01-30 13:17:03 -07:00
Elijah Perrault 22d1ca4534 Typo in comment. 2011-01-30 12:45:45 -07:00
Elijah Perrault 8cc6538f7b Moved on_preconnect's creation to before modules are loaded, in case they want to hook on. 2011-01-30 10:44:18 -07:00
Elijah Perrault fb6e64fa98 Added hook on_preconnect, this comes before USER (after PASS). 2011-01-30 10:40:16 -07:00
Elijah Perrault 4d966f89de Git is being silly again. 2011-01-30 10:28:12 -07:00
Elijah Perrault a04e181378 Added match_mask() to API::IRC and match_user() to API::Std, match_user checks
config user:mask to find a user block, if a match is found, the configured username
is returned.
2011-01-30 10:26:51 -07:00
Elijah Perrault ccce5d5ef6 Added rchook_add() and rchook_del() to API::Std. 2011-01-29 20:39:07 -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 ca54a07f9a Oops. 2011-01-29 16:40:25 -07:00
Elijah Perrault bc65c8c480 Added die to config. 2011-01-29 16:37:18 -07:00
Elijah Perrault b8c0edadf1 Only load modules if there's actually modules to load. 2011-01-29 16:17:51 -07:00
Elijah Perrault 8aa8962764 Import hook_add and hook_del. 2011-01-29 15:02:44 -07:00
Elijah Perrault ce58dbe132 Made hook_add and hook_del exportable. 2011-01-29 15:02:22 -07:00
Elijah Perrault 3a2687a4be Made cmd_add and cmd_del exportable. 2011-01-29 14:59:23 -07:00
Elijah Perrault f9982e56a4 Updated. 2011-01-29 14:51:00 -07:00
Elijah Perrault b09d99cc4d Removed Async from $MODS 2011-01-29 14:41:23 -07:00
Elijah Perrault 8a7ec84838 Renamed example config to example.conf. 2011-01-29 14:40:23 -07:00
Elijah Perrault 5b53ee511f Updated example module auto-load. 2011-01-29 14:39:44 -07:00
Elijah Perrault ed0234b1f6 Example module. 2011-01-29 14:38:06 -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 49b81d0535 Make startup a bit fancier. 2011-01-29 14:06:21 -07:00
Elijah Perrault 802dff20df Add 1; 2011-01-29 11:53:05 -07:00
Elijah Perrault 272df844d8 Use return. 2011-01-29 11:52:23 -07:00
Elijah Perrault 2d834f3f61 Use return. 2011-01-29 11:49:07 -07:00
Elijah Perrault 2a0c7360f0 Be proper: Use glob not <>. 2011-01-29 11:48:10 -07:00
Elijah Perrault c1e1a32589 Code cleanup. 2011-01-29 11:45:59 -07:00
Elijah Perrault 0191890d07 Fantasy prefix config option. 2011-01-29 01:09:17 -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 e1d79d17c2 Get rid of this. 2011-01-28 22:46:15 -07:00
Elijah Perrault e8d4123156 Deleted trunk/ 2011-01-28 22:39:21 -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 17c00c5afd Resigned contributor; Russell Bradford. 2011-01-27 15:36:17 -07:00
Elijah Perrault 191235f63e This should be our, not my. 2011-01-25 23:28:38 -07:00
Elijah Perrault 1921357367 Updated. 2011-01-25 22:39:13 -07:00
Elijah Perrault 0b7634750f Updated. 2011-01-25 22:38:41 -07:00
Elijah Perrault b36f36da4c Oops. 2011-01-25 22:33:15 -07:00
Elijah Perrault fba10756c9 Indev trunk. 2011-01-25 22:30:50 -07:00
Elijah Perrault 2d3c32a040 Enabled ./install features are now stored in ::ENFEAT. 2011-01-25 14:28:23 -07:00
Elijah Perrault 13d6add750 Added -h/--help and moved the argument iterator. 2011-01-25 14:20:23 -07:00
Elijah Perrault c7758c10ad Added --enable-sasl option to ./install for enabling SASL. 2011-01-25 14:14:26 -07:00
Elijah Perrault 2d0388abd9 Added names() to EXPORT_OK 2011-01-25 11:26:52 -07:00
Elijah Perrault 9c698e4162 Use return. 2011-01-24 22:27:48 -07:00
Elijah Perrault 98cfa1acac Added names() to API::IRC which sends NAMES. 2011-01-24 22:26:04 -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 ae6cfc4e99 Russell has been demoted to contributor. 2011-01-23 22:49:46 -07:00
Elijah Perrault 94c69bf5bd Use proper open()'s and renamed write() to mwrite() as Perl has write() 2011-01-22 22:37:37 -07:00
Elijah Perrault b922617203 Use proper open()'s 2011-01-22 22:32:41 -07:00
Elijah Perrault 1d9ef3776d Use -no_match_vars 2011-01-22 18:42:20 -07:00
Elijah Perrault 5906a7ab26 Appease PerlCritic. 2011-01-22 18:06:04 -07:00
Elijah Perrault d9786db1ab More cleaning. 2011-01-22 10:08:12 -07:00
Elijah Perrault 532ab47d6c Use if instead of unless 2011-01-22 10:05:05 -07:00
Elijah Perrault 8196a45d1e More cleaning up. 2011-01-22 09:52:57 -07:00
Elijah Perrault df7aeaab44 Use system() 2011-01-22 09:49:20 -07:00
Elijah Perrault 02335e0f31 Renamed $src{ident} to $src{user} 2011-01-22 09:47:05 -07:00
Elijah Perrault 94b3569598 Cleaned up the code a bit. 2011-01-21 21:48:20 -07:00
Elijah Perrault 352c8d3e12 Added DB::Flatfile for DB:: database functions. 2011-01-21 20:54:51 -07:00
Elijah Perrault 23b0a4e627 Fixed a typo. 2011-01-21 19:31:16 -07:00
Elijah Perrault f925d2a370 I fail. API::IRC not API::Std. 2011-01-21 19:08:56 -07:00
Elijah Perrault d115085df1 Added umode() to API::Std. 2011-01-21 19:07:02 -07:00
Elijah Perrault dbfde5c33b Fixed a warning I missed and a typo. 2011-01-21 18:58:14 -07:00
Elijah Perrault 9b6eecb797 More version/name information. 2011-01-21 18:55:38 -07:00
Elijah Perrault 3d2bee79f1 Cleaned up println() 2011-01-21 18:51:54 -07:00
Elijah Perrault 359f64649f Cleaned up println() 2011-01-21 18:49:01 -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 e0ad8bd911 Added an optional @args onto event_run() for sending @args to the subs that have hooked onto the event. 2011-01-21 17:44:27 -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 1e178687bc Also parsing what channels the bot is in. 2011-01-21 16:30:34 -07:00
Elijah Perrault 0330cfeab3 Merge branch 'indev' of github.com:Xelhua/Auto into indev 2011-01-21 16:29:25 -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 159600b669 Added timer_add() and timer_del() to API::Std for timers. 2011-01-21 14:15:52 -07:00
Elijah Perrault 2acaef26e0 Also added events: on_sigterm, on_sigint, on_sighup. 2011-01-21 13:56:05 -07:00