Skip to content

Commit

Permalink
more merging
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxionary committed Nov 23, 2019
1 parent 68d6f88 commit 4aeb01a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion hooks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function irc2.hooks.channelChat(msg)
irc2.sendLocal(("*** %s left %s")
:format(leavenick, msg.user.nick))
elseif foundtimedout then
irc.sendLocal(("*** %s left %s (Timed out)")
irc2.sendLocal(("*** %s left %s (Timed out)")
:format(timedoutnick, msg.user.nick))
elseif foundaction then
irc2.sendLocal(("* %s@%s %s")
Expand Down
38 changes: 19 additions & 19 deletions settingtypes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +3,73 @@

# Whether to automatically connect to the server on mod load.
# If false, you must use /irc_connect to connect.
irc.auto_connect (Auto-connect on load) bool true
irc2.auto_connect (Auto-connect on load) bool true

# Nickname for the bot. May only contain characters A-Z, 0-9
# '{', '}', '[', ']', '|', '^', '-', or '_'.
irc.nick (Bot nickname) string Minetest
irc2.nick (Bot nickname) string Minetest

# Server to connect to.
irc.server (IRC server) string irc.freenode.net
irc2.server (IRC server) string irc.freenode.net

# Server port.
# The standard IRC protocol port is 6667 for regular servers,
# or 6697 for SSL-enabled servers.
# If unsure, leave at 6667.
irc.port (IRC server port) int 6667 1 65535
irc2.port (IRC server port) int 6667 1 65535

# Channel the bot joins after connecting.
irc.channel (Channel to join) string ##mt-irc-mod
irc2.channel (Channel to join) string ##mt-irc-mod

[Authentication]

# Password for authenticating to NickServ.
# Leave empty to not authenticate with NickServ.
irc.NSPass (NickServ password) string
irc2.NSPass (NickServ password) string

# IRC server password.
# Leave empty for no password.
irc.password (Server password) string
irc2.password (Server password) string

# Password for joining the channel.
# Leave empty if your channel is not protected.
irc.key (Channel key) string
irc2.key (Channel key) string

# Enable TLS connection.
# Requires LuaSEC <https://github.com/brunoos/luasec>.
irc.secure (Use TLS) bool false
irc2.secure (Use TLS) bool false

# Username for SASL authentication.
# Leave empty to use the nickname.
irc.sasl.user (SASL username) string
irc2.sasl.user (SASL username) string

# Password for SASL authentication.
# Leave empty to not authenticate via SASL.
irc.sasl.pass (SASL password) string
irc2.sasl.pass (SASL password) string

[Advanced]

# Enable this to make the bot send messages when players join
# or leave the game server.
irc.send_join_part (Send join and part messages) bool true
irc2.send_join_part (Send join and part messages) bool true

# Enable this to make the bot send messages when players are kicked.
irc.send_kicks (Send kick messages) bool false
irc2.send_kicks (Send kick messages) bool false

# Underlying socket timeout in seconds.
irc.timeout (Timeout) int 60 1
irc2.timeout (Timeout) int 60 1

# Time between reconnection attempts, in seconds.
irc.reconnect (Reconnect delay) int 600 1
irc2.reconnect (Reconnect delay) int 600 1

# Prefix to use for bot commands.
irc.command_prefix (Command prefix) string
irc2.command_prefix (Command prefix) string

# Enable debug output.
irc.debug (Debug mode) bool false
irc2.debug (Debug mode) bool false

# Whether to enable players joining and parting the channel.
irc.enable_player_part (Allow player join/part) bool true
irc2.enable_player_part (Allow player join/part) bool true

# Whether to automatically show players in the channel when they join.
irc.auto_join (Auto join players) bool true
irc2.auto_join (Auto join players) bool true

0 comments on commit 4aeb01a

Please sign in to comment.