Commit Graph

91 Commits

Author SHA1 Message Date
ShadowNinja 8a31f5d7e7 Allow hooking to any IRC command 2014-02-26 14:24:25 -05:00
JakobOvrum b1cbbf1963 Merge pull request #14 from ShadowNinja/nickgen
Generate a new nickname when it is in use or erroneous and check the...
2013-10-07 20:27:41 -07:00
ShadowNinja 5ab24e9ad1 Generate a new nickname when it is in use or erroneous and check the
provided nickname for validity
2013-10-07 16:15:27 -04:00
JakobOvrum be620c428e Merge pull request #12 from ShadowNinja/master
Track own nick changes
2013-08-22 05:49:26 -07:00
ShadowNinja 8a2e47a326 Track own nick changes 2013-08-05 18:33:33 -04:00
JakobOvrum bc79606de0 Merge pull request #9 from ShadowNinja/master
A few changes...
2013-06-26 19:36:17 -07:00
ShadowNinja d443e2eeeb Track user access changing and enable multi-prefix
This also changes the format of user.access.
2013-06-25 22:29:53 -04:00
ShadowNinja ac2a9d03fc Send mode options to the OnModeChange hook 2013-06-25 21:55:43 -04:00
ShadowNinja 9206f01b88 Add OnSend hook 2013-06-25 21:55:43 -04:00
ShadowNinja ddb788883e Interpret format codes passed to meta:send() literally if there are no format arguments 2013-06-25 21:55:43 -04:00
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