Disabled greetings
This commit is contained in:
parent
cde02d1100
commit
0f06a6c869
2
main.lua
2
main.lua
|
@ -149,7 +149,7 @@ bot:hook('OnJoin', function(user, channel)
|
||||||
io.write '[!LAST]\n'
|
io.write '[!LAST]\n'
|
||||||
elseif os.time() < (LAST_TIME_USER_LOGGED_OUT[user.nick] or 0) + IRC_ALLOWED_TIMEOUT then
|
elseif os.time() < (LAST_TIME_USER_LOGGED_OUT[user.nick] or 0) + IRC_ALLOWED_TIMEOUT then
|
||||||
io.write(string.format('%s%s reconnected to %s\n', string.rep(' ',INDENT), user.nick, channel))
|
io.write(string.format('%s%s reconnected to %s\n', string.rep(' ',INDENT), user.nick, channel))
|
||||||
else
|
elseif false then -- NOTE: Currently disabled.
|
||||||
-- On other join
|
-- On other join
|
||||||
-- And that user wasn't the last one to join
|
-- And that user wasn't the last one to join
|
||||||
-- And that user haven't been logged in for IRC_ALLOWED_TIMEOUT seconds.
|
-- And that user haven't been logged in for IRC_ALLOWED_TIMEOUT seconds.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user