1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2024-11-15 23:10:32 +01:00
Commit Graph

81 Commits

Author SHA1 Message Date
ShadowNinja
1d0480adba Add PreRegister hook
This is useful for CAP commands and SASL.
2013-06-25 21:55:24 -04:00
JakobOvrum
ad53b2aeb1 Merge pull request #5 from gandro/master
Use server-assigned nickname
2011-11-07 23:09:57 -08:00
Sebastian Wicki
c181583f39 Accept server-assigned nickname 2011-11-07 20:15:18 +01:00
Jakob Ovrum
e3b566407e Added irc.set module wrapping select() for IRC connections 2011-04-24 08:25:07 +09:00
Jakob Ovrum
4c1e2248f8 Ignore empty lines 2011-04-24 08:24:14 +09:00
Jakob Ovrum
d1c0b2d271 Fixed bug in setMode where assert was missing 2011-02-11 15:12:48 +09:00
Jakob Ovrum
32d9a8b774 Moved handlers into irc.handlers module (also added updated irc.luadoc, forgot that last commit) 2010-07-21 09:52:02 +09:00
Jakob Ovrum
07f50242f4 Renamed hooks to conform with other hook names: OnUserModeIs -> OnUserMode, OnChannelmodeIs -> OnChannelMode 2010-07-21 09:45:37 +09:00
Jakob Ovrum
c4d7278c4b Merge branch 'master' of git://github.com/jsimmons/LuaIRC 2010-07-21 09:39:50 +09:00
Jakob Ovrum
4f12f28684 reworded readme 2010-07-21 09:39:38 +09:00
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