1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-12-28 01:30:21 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Diego Martínez
6bf4e111c2 Major cleanup.
- Use `irc.foo` notation instead of `irc:foo`. It still
  supports the `irc:foo` usage, but will helpfully issue
  a warning with the location of the offending code.
- Remove unused arguments from functions.
2017-03-15 21:40:12 -03:00
Diego Martínez
33542b07fe Add .luacheckrc and fix warnings. 2017-02-16 02:36:04 -03:00
Diego Martínez
0c8538bfb8 Fix issue with previous commit.
Mea culpa. It was possible an error caused `require` to
not be reset, causing possible errors in the future.
2016-12-03 03:15:17 -03:00
Diego Martínez
9f8b4fd4af Fix SASL auth under secure environment. 2016-12-02 21:47:21 -03:00
Diego Martínez
73cdb58c99 Queue NickServ message for later.
Fixes #35.
2016-12-02 20:43:08 -03:00
Diego Martínez
3e2d98f9ef Silence warnings about module in ltn12. 2016-12-01 02:57:56 -03:00
Diego Martínez
18f286f4b5 Reset require function after loading all sub-modules.
Fixes an issue with `hooks.lua` calling the (old, disabled)
`require` function.
2016-11-09 22:47:12 -03:00
Auke Kok
f98282818d Print reconnect interval, clean up reconnect comment.
Follows #23
2016-05-21 22:43:14 -07:00
Robbie Ferguson
03edbd29ed Add "reconnect" time variable to config. (#23)
Allow server admin to specify how long until a reconnect occurs after a timeout (default 600 seconds) without having to modify the core code.
2016-05-18 15:03:34 -07:00
ShadowNinja
0c900dbac2 Add support for mod security 2015-05-16 19:54:24 -04:00
ShadowNinja
fd1a570794 Remove undefined global warning without LuaJIT 2015-04-03 12:42:57 -04:00
ShadowNinja
9e15a886b4 Work around missing package search paths of Minetest's built-in Lua 2014-09-10 14:00:49 -04:00
ShadowNinja
12b1b07afe Remove newlines from replies 2014-07-07 23:22:52 -04:00
ShadowNinja
e92eec3987 Change load order so that LuaIRC loads first 2014-06-06 11:06:18 -04:00
ShadowNinja
8e6a9a287f Use LuaSocket's base 64 encoding function 2014-05-28 19:38:24 -04:00
ShadowNinja
26ca287b09 Check connectivity before sending messages 2014-05-28 19:38:23 -04:00
Diego Martínez
3b35bb1871 Fix leaked globals. 2014-05-28 12:05:08 -03:00
Diego Martínez
56a5de4a91 Fix typo in connect.
This caused bot to fail to connect to servers protected with passwords.

Reported by reactor.
2014-05-28 11:59:10 -03:00
ShadowNinja
706a6fbe27 Rename "mt_irc" namespace to "irc"
The underlying IRC library is now available as irc.lib.
2014-05-25 22:52:24 -04:00
ShadowNinja
ed20a55899 Remove included Lua and LuaSocket source
Also rename README.txt to README.md and update it.
2014-05-15 20:20:22 -04:00