Commit Graph

150 Commits

Author SHA1 Message Date
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
kaeza
d21f5b3403 Fix wrong check for common service and bot suffixes. 2013-10-23 01:23:02 -02:00
kaeza
b647378490 Add `/irc_names' command. 2013-10-23 01:20:27 -02:00
kaeza
a1671fca52 Change tabs to spaces in README.
Just for testing webhooks.
2013-10-22 19:18:56 -02:00
ShadowNinja
0901083dd0 Use upvalues in anonymous functions 2013-10-19 18:45:39 -04:00
ShadowNinja
85b4ba3f8f Rename !who to !players and make it list all players 2013-10-08 15:52:19 -04:00
ShadowNinja
290082760b Add support for common CTCP commands 2013-10-08 12:29:22 -04:00
ShadowNinja
5b0671b512 Add CMakeFiles/ to .gitignore 2013-10-08 10:59:11 -04:00
ShadowNinja
ccea0ff33c Update LuaIRC (Generate alternate nicknames) 2013-10-08 10:57:37 -04:00
ShadowNinja
4313a06505 Fix crash 2013-08-28 10:58:12 -04:00
ShadowNinja
25696a8e9a Add better support for multiple servers and remove format_in/format_out 2013-08-26 13:25:06 -04:00
ShadowNinja
b3ae3f5f03 Fix licenses 2013-08-20 23:33:36 -04:00
ShadowNinja
c7f989dd85 Rewrite 2013-08-20 22:58:19 -04:00
ShadowNinja
3aede000b7 Change spaces to tabs 2013-04-25 17:09:12 -04:00
ShadowNinja
63c2b52c41 Change the >playername private message syntax to @playername and add a confirmation message 2013-04-20 15:31:25 -04:00
ShadowNinja
44cb68227f Add a confirmation message to /irc_msg and fix a few bugs 2013-04-20 15:29:43 -04:00
ShadowNinja
7183e96a40 Rename /msg to /irc_msg 2013-04-20 14:45:11 -04:00