Commit Graph

157 Commits

Author SHA1 Message Date
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
0c900dbac2 Add support for mod security 2015-05-16 19:54:24 -04:00
38832b3c55 Improve README 2015-04-03 13:18:38 -04:00
fd1a570794 Remove undefined global warning without LuaJIT 2015-04-03 12:42:57 -04:00
18b80bd127 Remove default values for some settings 2015-03-10 18:43:56 -04:00
43cb77fab8 Send CAP END for SASL 2015-03-10 13:33:41 -04:00
df229cabe6 Update LuaIRC 2015-02-07 13:21:22 -05:00
30fa81a3ab Don't allow a user with the nick "IRC" to impersonate other users 2015-01-27 11:36:29 -05:00
32294995be Fix /irc_names crashing if not connected. 2015-01-17 22:41:24 -03:00
d0ebde3884 Add Minetest version to CTCP VERSION reply 2014-10-01 16:19:10 -04:00
9e15a886b4 Work around missing package search paths of Minetest's built-in Lua 2014-09-10 14:00:49 -04:00
12b1b07afe Remove newlines from replies 2014-07-07 23:22:52 -04:00
e92eec3987 Change load order so that LuaIRC loads first 2014-06-06 11:06:18 -04:00
8aa442e87f Update LuaIRC 2014-06-03 15:00:55 -04:00
5655f75946 Add success and message return values to bot commands 2014-05-28 20:05:26 -04:00
8e6a9a287f Use LuaSocket's base 64 encoding function 2014-05-28 19:38:24 -04:00
26ca287b09 Check connectivity before sending messages 2014-05-28 19:38:23 -04:00
3b35bb1871 Fix leaked globals. 2014-05-28 12:05:08 -03:00
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
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
e87d2e5bf2 Rename SASLPass and SASLUser settings to sasl.pass and sasl.user 2014-05-15 20:51:29 -04:00
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
13d6116f8e Add backup files to .gitignore 2014-05-06 15:28:07 -04:00
af4b92921f Update LuaIRC, and code to match 2014-05-06 15:26:13 -04:00
f88760a273 Switch build system to SConstruct 2014-04-08 13:52:25 -04:00
4c70a06e87 Remove unnecessary search path addition 2014-03-23 00:40:06 -04:00
69492966a7 Remove duplicate luasocket sources from CMakeLists.txt 2014-03-15 20:23:48 -04:00
ea24a7501c Print in-channel IRC commands in-game 2014-03-13 21:18:49 -04:00
cdc6067e87 Wait even longer before auto-connecting 2014-02-27 00:21:58 -05:00
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
d1a0579135 Reformat quick_install.sh and use symbolic links 2014-02-04 16:30:57 -05:00
3a06814f18 Change formating of remote server join/leave messages 2014-02-01 17:58:51 -05:00
8e4b863549 Add option to not send join and part messages to IRC 2014-02-01 17:56:55 -05:00
a25527100a Rework config 2014-02-01 17:03:44 -05:00
5604fa5582 Send only first chat line. 2014-01-08 23:39:21 -02:00
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
aa299b7a10 Make prefixes case-insensitive 2013-12-22 15:41:22 -05:00
d81f80155f Add in-channel commands 2013-12-02 18:17:32 -05:00
c3ddf1df70 Quick hack to prevent those ugly "<invalid multibyte string>" messages. 2013-10-27 08:57:42 -02:00
0d57978c84 Add separator to !players command. 2013-10-26 17:33:12 -02:00
99c7c56733 Simplify CTCP code 2013-10-23 08:33:02 -04:00
d21f5b3403 Fix wrong check for common service and bot suffixes. 2013-10-23 01:23:02 -02:00
b647378490 Add `/irc_names' command. 2013-10-23 01:20:27 -02:00
a1671fca52 Change tabs to spaces in README.
Just for testing webhooks.
2013-10-22 19:18:56 -02:00
0901083dd0 Use upvalues in anonymous functions 2013-10-19 18:45:39 -04:00
85b4ba3f8f Rename !who to !players and make it list all players 2013-10-08 15:52:19 -04:00
290082760b Add support for common CTCP commands 2013-10-08 12:29:22 -04:00
5b0671b512 Add CMakeFiles/ to .gitignore 2013-10-08 10:59:11 -04:00
ccea0ff33c Update LuaIRC (Generate alternate nicknames) 2013-10-08 10:57:37 -04:00
4313a06505 Fix crash 2013-08-28 10:58:12 -04:00