1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-11-15 22:30:20 +01:00
Commit Graph

166 Commits

Author SHA1 Message Date
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
ShadowNinja
4c70a06e87 Remove unnecessary search path addition 2014-03-23 00:40:06 -04:00
ShadowNinja
69492966a7 Remove duplicate luasocket sources from CMakeLists.txt 2014-03-15 20:23:48 -04:00
ShadowNinja
ea24a7501c Print in-channel IRC commands in-game 2014-03-13 21:18:49 -04:00
ShadowNinja
cdc6067e87 Wait even longer before auto-connecting 2014-02-27 00:21:58 -05:00
ShadowNinja
8d8a8ec519 Delay connecting until the first server step
This fixes an issue with servers on a restart loop starting up and immedietely
crashing, causing a join/quit flood.
2014-02-22 13:49:47 -05:00
ShadowNinja
d1a0579135 Reformat quick_install.sh and use symbolic links 2014-02-04 16:30:57 -05:00
ShadowNinja
3a06814f18 Change formating of remote server join/leave messages 2014-02-01 17:58:51 -05:00
ShadowNinja
8e4b863549 Add option to not send join and part messages to IRC 2014-02-01 17:56:55 -05:00
ShadowNinja
a25527100a Rework config 2014-02-01 17:03:44 -05:00
kaeza
5604fa5582 Send only first chat line. 2014-01-08 23:39:21 -02:00
kaeza
10f32b77b0 Add "[off]" prefix for messages not to be sent to the "other side".
If an in-game message begins with "[off]", it's not sent to IRC,
and vice-versa.
2013-12-27 12:57:35 -02:00
ShadowNinja
aa299b7a10 Make prefixes case-insensitive 2013-12-22 15:41:22 -05:00
ShadowNinja
d81f80155f Add in-channel commands 2013-12-02 18:17:32 -05:00
kaeza
c3ddf1df70 Quick hack to prevent those ugly "<invalid multibyte string>" messages. 2013-10-27 08:57:42 -02:00
kaeza
0d57978c84 Add separator to !players command. 2013-10-26 17:33:12 -02:00
ShadowNinja
99c7c56733 Simplify CTCP code 2013-10-23 08:33:02 -04:00