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

182 Commits

Author SHA1 Message Date
luk3yx
5f8850bc15 Stop saying "try list" on an invalid command.
As the list command is deprecated, this reference to it should be changed.
2017-03-02 01:11:13 -03:00
Diego Martínez
2f55e0f9a0 Add option to broadcast kick messages.
Default value is false.
2017-02-21 02:07:36 -03:00
Diego Martínez
78fbe26a2c Fix error if @ with no name is used. 2017-02-16 02:38:44 -03:00
Diego Martínez
33542b07fe Add .luacheckrc and fix warnings. 2017-02-16 02:36:04 -03:00
Diego Martínez
6bbb26f9f9 Add description.txt. 2017-02-12 02:58:40 -03:00
Diego Martínez
ae0cb08e3e Remove leading whitespace from command before processing.
Fixes bug where `Server:  asdf` (note the double space)
gets taken as an empty command name.
2017-01-29 15:05:42 -03:00
Diego Martínez
bb5f549193 Don't remove characters above 0x80. 2017-01-11 22:37:54 -03:00
Diego Martínez
4c334e9967 Update README. 2016-12-09 03:16:10 -03:00
Diego Martínez
a18820356a Fix error in previous help merge. 2016-12-03 18:41:01 -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
12248cc847 Minor changes to botcmds.lua.
- Merge `list` into `help`.
- Use `table.concat` to remove trailing comma.
2016-11-28 22:17:08 -03:00
Diego Martínez
160088c232 Use return values whenever possible in chatcmds.lua.
Also minor fixes.
2016-11-28 02:02:40 -03:00
Diego Martínez
03070e41c4 Check nickname using RFC1459 rules in botcmds.lua. 2016-11-28 01:05:46 -03:00
Diego Martínez
b5786979ab Use return values in player_part.lua.
Also minor style fixes.
2016-11-20 20:53:01 -03:00
tai
d5ad8ffca4 Add IRC messages to log. 2016-11-20 15:21:37 -03:00
Auke Kok
0f6e1dacc4 Create mod.conf 2016-11-17 11:23:53 -05:00
Diego Martínez
ecc1d450ba Add settingtypes.txt.
This allows configuring the mod from the GUI.
2016-11-13 12:13:17 -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
Diego Martínez
0c47e10a90 Update installation instructions to use new repo URL. 2016-10-06 21:09:59 -03:00
Diego Martínez
43493eb2ea Report when players time out instead of leaving normally. (#25) 2016-06-19 23:20:20 -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
ThatGraemeGuy
464f2febee Switch to luarocks installation method for Debian and derivatives
Debian's LuaSocket packages are broken.  Then seem to
package the 5.1 version of the library as simply a copy
of the 5.2 version; however, the libraries are incompatible.
Additionally, the package seems to take a number of
different names depending on the version of the distro.
However, the LuaRocks package seems to be fine, so install
that first and then install LuaSocket through LuaRocks.
2016-01-09 15:47:08 -05:00
ShadowNinja
0c900dbac2 Add support for mod security 2015-05-16 19:54:24 -04:00
ShadowNinja
38832b3c55 Improve README 2015-04-03 13:18:38 -04:00
ShadowNinja
fd1a570794 Remove undefined global warning without LuaJIT 2015-04-03 12:42:57 -04:00
ShadowNinja
18b80bd127 Remove default values for some settings 2015-03-10 18:43:56 -04:00
ShadowNinja
43cb77fab8 Send CAP END for SASL 2015-03-10 13:33:41 -04:00
ShadowNinja
df229cabe6 Update LuaIRC 2015-02-07 13:21:22 -05:00
ShadowNinja
30fa81a3ab Don't allow a user with the nick "IRC" to impersonate other users 2015-01-27 11:36:29 -05:00
Diego Martínez
32294995be Fix /irc_names crashing if not connected. 2015-01-17 22:41:24 -03:00
ShadowNinja
d0ebde3884 Add Minetest version to CTCP VERSION reply 2014-10-01 16:19:10 -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
8aa442e87f Update LuaIRC 2014-06-03 15:00:55 -04:00
ShadowNinja
5655f75946 Add success and message return values to bot commands 2014-05-28 20:05:26 -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
e87d2e5bf2 Rename SASLPass and SASLUser settings to sasl.pass and sasl.user 2014-05-15 20:51:29 -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
ShadowNinja
13d6116f8e Add backup files to .gitignore 2014-05-06 15:28:07 -04:00
ShadowNinja
af4b92921f Update LuaIRC, and code to match 2014-05-06 15:26:13 -04:00
ShadowNinja
f88760a273 Switch build system to SConstruct 2014-04-08 13:52:25 -04:00