1
0
mirror of https://github.com/ShadowNinja/LuaIRC.git synced 2024-11-04 17:40:28 +01:00
Commit Graph

120 Commits

Author SHA1 Message Date
ShadowNinja
e49a52ede1 Fix new nickname sending 2015-01-25 13:51:02 -05:00
ShadowNinja
e74ad783a0 Set metatable to _preconnect when disconnected and add connected field 2015-01-25 13:50:59 -05:00
ShadowNinja
e216ce4b23 Add support for IRCv3 capabilty negotiation 2015-01-25 13:43:31 -05:00
Carl Reinke
50b068ba15 Add handler for 437 ERR_UNAVAILRESOURCE 2015-01-25 13:35:33 -05:00
ShadowNinja
77dd15ca9a Fix nick updating 2015-01-25 13:35:33 -05:00
ShadowNinja
539892b8fc Add temporary files to .gitignore 2015-01-25 13:35:33 -05:00
ShadowNinja
3e310f45c1 Switch to Lua 5.2 module format 2015-01-25 13:35:19 -05:00
ShadowNinja
42938a5b5e Make Message() take a table 2015-01-25 12:46:59 -05:00
ShadowNinja
c27e2ec7e9 Add support for tag escapes 2015-01-25 12:46:59 -05:00
ShadowNinja
81d28bf4dc Fix saving of channel users on join 2015-01-25 12:46:59 -05:00
ShadowNinja
1749c7a365 Use socket.sleep(sec) instead of socket.select(nil, nil, sec) 2015-01-25 12:46:59 -05:00
ShadowNinja
7adba31f8c Add a message queue 2015-01-25 12:46:59 -05:00
ShadowNinja
2ee58834e0 Add support for IRCv3 message tags 2015-01-25 12:46:59 -05:00
ShadowNinja
7024ad5512 Use Message objects internally and pass one to Do* hooks 2015-01-25 12:46:59 -05:00
ShadowNinja
e958a7242a Add Message class and constructors for common messages 2015-01-25 12:46:59 -05:00
ShadowNinja
9b74265690 Fix typo in defaultNickGenerator comment 2015-01-25 12:46:59 -05:00
ShadowNinja
ecc6558e3d Save the server's MOTD
Conflicts:
	handlers.lua
2015-01-25 12:46:58 -05:00
ShadowNinja
b5646fd64a Add support for arbritrary status modes via the ISUPPORT PREFIX value 2015-01-25 12:46:58 -05:00
ShadowNinja
7e2c85764b Allow hooking to any IRC command 2015-01-25 12:46:58 -05:00
ShadowNinja
592a049027 Add RPL_ISUPPORT parsing 2015-01-25 12:46:58 -05:00
Carl Reinke
2661da15f7 Fix calling nil error function inside module. 2014-08-02 21:19:38 -06:00
jakob Ovrum
16057be815 chmod +x push-luadoc.sh 2014-03-23 11:43:25 +09:00
Jakob Ovrum
c3d8022ada Apparently Ubuntu calls the LuaDoc package "luadoc", not "lua-doc" like Debian does 2014-03-23 11:36:54 +09:00
Jakob Ovrum
a5f0367cd0 Fix .travis.yml
Switched to a more bare-bones language environment.
(Lua is not supported so it defaults to Ruby)

Update aptitude repositories before installing dependencies.
2014-03-23 11:31:29 +09:00
Jakob Ovrum
565123a085 Fix parameter name in irc.luadoc 2014-03-23 11:26:09 +09:00
Jakob Ovrum
455e27a7dc Add Travis CI for automatic luadoc deployment 2014-03-23 11:20:49 +09:00
JakobOvrum
d388c89c1e Merge pull request #20 from ShadowNinja/sleep
Sleep between thoughts when connecting to avoid eating CPU
2014-02-23 21:08:21 +01:00
ShadowNinja
2ccee2a935 Sleep between thoughts when connecting to avoid eating CPU 2014-02-22 17:44:03 -05:00
JakobOvrum
c046a0e009 Merge pull request #19 from ncopa/master
Fixed bug in trackUsers where pairs was missing
2014-01-21 22:53:10 -08:00
Natanael Copa
09b6864398 Fixed bug in trackUsers where pairs was missing 2014-01-15 08:20:57 +01: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