1
0
mirror of https://github.com/minetest-mods/irc.git synced 2025-07-07 10:30:27 +02:00
Commit Graph

198 Commits

Author SHA1 Message Date
bd8a0bab9c Fixed the notice hook
Fixed the error where it cannot find an user at the notice hook. 
It happened when you get the `NOTICE * :*** Looking up your hostname and checking ident`
Because "*" is not in the "<nick>!<ident>@<host>"
2022-03-23 19:25:16 +01:00
7fbbfd6cdb Fix failing luacheck 2020-07-18 18:00:38 +02:00
cc78f12a4c Display total number of players with /who (#65) 2020-07-18 17:57:42 +02:00
ceb40e2bb3 Add luacheck GitHub integration (#62) 2020-02-19 18:46:29 +01:00
5e3659761b Add extra library search path (#60) 2019-10-17 21:29:02 +02:00
ac0387786c Fix deprecated functions, update to 5.x (#59) 2019-10-05 09:25:05 +02:00
05ab5e9fbd Fix message when a player on another server times out (#58) 2019-09-21 15:22:41 +02:00
1c23f8987b add another lua search path for JIT 2019-02-15 20:32:28 -03:00
66bb7fc47d Prevent players from joining the channel when logged in from IRC 2019-02-12 19:17:09 -03:00
b4fbccd64a Add support for configurable coloring of IRC messages in-game
IRC channel messages are colored green by default
IRC PMs are colored purple by default
2018-11-02 21:54:36 -07:00
c9c57a6f93 Avoid deprecation warnings.
* This change avoids 21 deprecation warnings in debug.txt on every server start

2018-05-29 23:46:10: WARNING[Main]: WARNING: minetest.setting_* functions are deprecated.  Use methods on the minetest.settings object.

* Provide backward compatibility by testing for existence of new methods before using them
2018-06-18 16:45:44 -03:00
f57bdba5e9 Make username and realname configurable. 2017-06-14 19:55:28 -03:00
070eb51236 Remove minetest colour codes before sending messages to IRC. 2017-05-04 18:59:58 -03:00
e80bbe3a62 Fix warning about deprecated call.
Fixes #39.
2017-05-02 21:52:44 -03:00
1d4fd5a162 Better method to avoid impersonation. 2017-03-24 22:33:43 -03:00
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
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
2f55e0f9a0 Add option to broadcast kick messages.
Default value is false.
2017-02-21 02:07:36 -03:00
78fbe26a2c Fix error if @ with no name is used. 2017-02-16 02:38:44 -03:00
33542b07fe Add .luacheckrc and fix warnings. 2017-02-16 02:36:04 -03:00
6bbb26f9f9 Add description.txt. 2017-02-12 02:58:40 -03:00
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
bb5f549193 Don't remove characters above 0x80. 2017-01-11 22:37:54 -03:00
4c334e9967 Update README. 2016-12-09 03:16:10 -03:00
a18820356a Fix error in previous help merge. 2016-12-03 18:41:01 -03:00
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
9f8b4fd4af Fix SASL auth under secure environment. 2016-12-02 21:47:21 -03:00
73cdb58c99 Queue NickServ message for later.
Fixes #35.
2016-12-02 20:43:08 -03:00
3e2d98f9ef Silence warnings about module in ltn12. 2016-12-01 02:57:56 -03:00
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
160088c232 Use return values whenever possible in chatcmds.lua.
Also minor fixes.
2016-11-28 02:02:40 -03:00
03070e41c4 Check nickname using RFC1459 rules in botcmds.lua. 2016-11-28 01:05:46 -03:00
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
0f6e1dacc4 Create mod.conf 2016-11-17 11:23:53 -05:00
ecc1d450ba Add settingtypes.txt.
This allows configuring the mod from the GUI.
2016-11-13 12:13:17 -03:00
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
0c47e10a90 Update installation instructions to use new repo URL. 2016-10-06 21:09:59 -03:00
43493eb2ea Report when players time out instead of leaving normally. (#25) 2016-06-19 23:20:20 -03:00
f98282818d Print reconnect interval, clean up reconnect comment.
Follows #23
2016-05-21 22:43:14 -07:00
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
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