Commit Graph

121 Commits

Author SHA1 Message Date
Joshua Simmons d6b4872384 According to RFC, NICK should be sent before USER (yes this is a real issue) 2010-07-21 01:13:20 +10:00
Joshua Simmons ca767c8b42 Cleaning up getline function 2010-07-21 01:12:31 +10:00
Joshua Simmons d3c6ab849b Fixing wrong method call 2010-07-21 01:11:29 +10:00
Joshua Simmons 1d8509a4f8 Merge remote branch 'jacop/master' 2010-07-20 13:51:18 +10:00
Joshua Simmons 04dbe436f3 Adding OnModeChange hook 2010-07-20 13:35:25 +10:00
Joshua Simmons 98ccd99f4d Fixing On(Channel/User)ModeIs arguments 2010-07-20 13:29:33 +10:00
Jakob Ovrum da7c1c9a20 Fixed typo in readme 2010-07-19 19:52:27 +09:00
Joshua Simmons 01ffa79347 Merge remote branch 'jacop/ssl'
Conflicts:
	asyncoperations.lua
2010-07-19 11:18:07 +10:00
Joshua Simmons d7fc124342 Fixing send methods 2010-07-19 10:55:22 +10:00
Joshua Simmons 46d8317f28 Wow, just wow 2010-07-19 09:54:32 +10:00
Joshua Simmons ea788bb757 Really helps when you run code before comitting 2010-07-19 09:49:18 +10:00
Jakob Ovrum a37a7618ce Changed a bit of style stuff, tweaked verify calls here and there 2010-07-19 07:46:55 +09:00
Jakob Ovrum 145aa5b3eb Fixed some merge bugs 2010-07-19 07:24:19 +09:00
Jakob Ovrum 2fe692f2ae merged with jsimmons/master 2010-07-19 07:17:38 +09:00
Jakob Ovrum afbe9d91ed added init.lua 2010-07-19 06:52:31 +09:00
Joshua Simmons 481210b440 Updating documentation
Adding TLS/SSL documentation
Adding OnUserModeIs documentation
Adding OnChannelModeIs documentation
Adding OnRaw documentation
2010-07-19 05:48:23 +08:00
Joshua Simmons 30253c5a2a Changing verify error message 2010-07-19 05:48:21 +08:00
Joshua Simmons f07a3cec22 Changing clean to verify for sending of parameters
Send methods will now error if you pass invalid characters
2010-07-19 05:48:18 +08:00
Joshua Simmons 9bf809f99a Fixing regressions in sendChat and sendNotice.
Fixing: Incorrect handling of newlines in message.
Fixing: Cleaning ':' from message.
2010-07-19 05:48:17 +08:00
Joshua Simmons b392b69f87 Adding ability for hooks to return, and OnRaw hook
By adding the ability for hooks to return, we can stop the processing of a line at any point.
This is used by the OnRaw hook such that any non-nil return value will cause the irc library to assume that line has been handled.
2010-07-19 05:48:15 +08:00
Joshua Simmons 7604bb2a51 Refactoring nasty send methods.
Adding a local clean method to sanitise strings for sending.
Removing sendByMethod, made obsolete by changes to send calls.
2010-07-19 05:48:14 +08:00
Joshua Simmons 41cbab629f Adding TLS/SSL support via LuaSec 2010-07-19 05:48:14 +08:00
Joshua Simmons 6327d84a84 Merge remote branch 'jacop/master' 2010-07-18 22:14:11 +10:00
Joshua Simmons 1bc4395d46 Updating readme to make LuaSec dependency more clear 2010-07-18 22:13:37 +10:00
Joshua Simmons 676a00aa2a Updating documentation
Adding TLS/SSL documentation
Adding OnUserModeIs documentation
Adding OnChannelModeIs documentation
Adding OnRaw documentation
2010-07-18 21:55:02 +10:00
Joshua Simmons 96c2fd3ac0 Fixing small typo and clarifying arguments 2010-07-18 21:21:55 +10:00
Joshua Simmons b53cd265ae Changing verify error message 2010-07-18 21:13:38 +10:00
Joshua Simmons 9c5a2c82e7 Fixing error level for verify call 2010-07-18 21:08:33 +10:00
Joshua Simmons 1ce9e96ccd Merge remote branch 'jacop/master'
Conflicts:
	doc/luadoc.css
	init.lua
	util.lua
2010-07-18 20:50:08 +10:00
Jakob Ovrum 016ccc3f3f Updated readme to reflect changes to documentation 2010-07-18 19:15:34 +09:00
Joshua Simmons 50f223fe66 Fixing some whitespace, and line endings. 2010-07-18 19:43:50 +10:00
Jakob Ovrum 66e743c279 added OnKick to docs 2010-07-18 18:34:25 +09:00
Jakob Ovrum 1237f974b6 Removed generated docs, grab the gh-pages branch for those. irc.luadoc is still in. 2010-07-18 18:29:53 +09:00
Jakob Ovrum 66361ac235 Added OnKick hook 2010-07-18 18:18:39 +09:00
Joshua Simmons 339d3c9d8d Passing prefix to mode handlers 2010-07-18 19:05:14 +10:00
Joshua Simmons 7d891b2380 Changing clean to verify for sending of parameters
Send methods will now error if you pass invalid characters
2010-07-18 18:26:04 +10:00
Jakob Ovrum 531f584a56 Patched parser a bit 2010-07-18 16:50:31 +09:00
Joshua Simmons 8114c5b7f8 Fixing regressions in sendChat and sendNotice.
Fixing: Incorrect handling of newlines in message.
Fixing: Cleaning ':' from message.
2010-07-18 17:24:13 +10:00
Joshua Simmons b370d8bfe7 Updating readme to include LuaSec dependency 2010-07-17 23:28:13 +10:00
Joshua Simmons ecafce9f0c Adding handlers: RPL_UMODEIS and RPL_CHANNELMODEIS 2010-07-17 23:21:50 +10:00
Joshua Simmons 9977943966 Adding ability for hooks to return, and OnRaw hook
By adding the ability for hooks to return, we can stop the processing of a line at any point.
This is used by the OnRaw hook such that any non-nil return value will cause the irc library to assume that line has been handled.
2010-07-17 23:19:07 +10:00
Joshua Simmons bb020fdad4 Refactoring nasty send methods.
Adding a local clean method to sanitise strings for sending.
Removing sendByMethod, made obsolete by changes to send calls.
2010-07-17 23:16:01 +10:00
Joshua Simmons eac1f0d668 Adding TLS/SSL support via LuaSec 2010-07-17 23:14:37 +10:00
Jakob Ovrum 1fa8f6405f Updated docs with topic stuff 2010-07-17 11:54:59 +09:00
Jakob Ovrum 48ee749bb7 Cleaned up whitespace, now all indentation is done with 1 tab character 2010-07-17 11:48:32 +09:00
Jakob Ovrum 8f8feb00d7 added topic hooks 2010-07-17 11:43:17 +09:00
Jakob Ovrum 72a355cc70 Tweaked irc:whois a bit 2010-07-17 11:15:17 +09:00
Jakob Ovrum e866807a44 now handles topic changes 2010-07-17 11:00:58 +09:00
Jakob Ovrum 103d9cf4ce Fixed bug in previously untested path 2010-07-16 14:01:05 +09:00
Jakob Ovrum ca3ae42726 Fixed util.lua, again 2010-07-03 13:27:47 +09:00