2016-07-17 13:22:27 +02:00
|
|
|
local banhammer = {}
|
|
|
|
|
|
|
|
banhammer.command = 'banhammer <nur für Superuser>'
|
|
|
|
|
|
|
|
function banhammer:init(config)
|
|
|
|
banhammer.triggers = {
|
|
|
|
"^/(whitelist) (enable)$",
|
|
|
|
"^/(whitelist) (disable)$",
|
|
|
|
"^/(whitelist) (user) (%d+)$",
|
|
|
|
"^/(whitelist) (chat)$",
|
|
|
|
"^/(whitelist) (delete) (user) (%d+)$",
|
|
|
|
"^/(whitelist) (delete) (chat)$",
|
|
|
|
"^/(ban) (user) (%d+)$",
|
|
|
|
"^/(ban) (delete) (%d+)$",
|
2016-08-15 23:14:28 +02:00
|
|
|
"^/(block) (user) (%d+)$",
|
|
|
|
"^/(block) (delete) (%d+)$",
|
|
|
|
"^/(whitelist)$",
|
|
|
|
"^/(whitelist) (delete)$",
|
|
|
|
"^/(ban)$",
|
|
|
|
"^/(ban) (delete)$",
|
|
|
|
"^/(block)$",
|
|
|
|
"^/(block) (delete)$",
|
|
|
|
"^/(kick) (%d+)$",
|
|
|
|
"^/(kick)$",
|
2016-09-07 23:51:44 +02:00
|
|
|
"^/(leave) (%-?%d+)",
|
|
|
|
"^/(leave) (@[A-Za-z0-9-_-]+)",
|
2016-08-15 23:14:28 +02:00
|
|
|
"^/(leave)$"
|
2016-07-17 13:22:27 +02:00
|
|
|
}
|
|
|
|
banhammer.doc = [[*
|
|
|
|
]]..config.cmd_pat..[[whitelist* _<enable>_/_<disable>_: Aktiviert/deaktiviert Whitelist
|
|
|
|
*]]..config.cmd_pat..[[whitelist* user _<user#id>_: Whiteliste User
|
|
|
|
*]]..config.cmd_pat..[[whitelist* chat: Whiteliste ganze Gruppe
|
|
|
|
*]]..config.cmd_pat..[[whitelist* delete user _<user#id>_: Lösche User von der Whitelist
|
|
|
|
*]]..config.cmd_pat..[[whitelist* delete chat: Lösche ganze Gruppe von der Whitelist
|
|
|
|
*]]..config.cmd_pat..[[ban* user _<user#id>_: Kicke User vom Chat und kicke ihn, wenn er erneut beitritt
|
|
|
|
*]]..config.cmd_pat..[[ban* delete _<user#id>_: Entbanne User
|
2016-08-15 23:14:28 +02:00
|
|
|
*]]..config.cmd_pat..[[block* user _<user#id>_: Blocke User vom Bot
|
|
|
|
*]]..config.cmd_pat..[[block* delete _<user#id>_: Entblocke User
|
|
|
|
*]]..config.cmd_pat..[[kick* _<user#id>_: Kicke User aus dem Chat
|
|
|
|
*]]..config.cmd_pat..[[leave*: Bot verlässt die Gruppe
|
|
|
|
Alternativ kann auch auf die Nachricht des Users geantwortet werden, die Befehle sind dnn die obrigen ohne `user` bzw.`delete`.]]
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
|
2016-08-24 15:38:29 +02:00
|
|
|
function banhammer:kick_user(user_id, chat_id, onlykick)
|
2016-07-17 13:22:27 +02:00
|
|
|
if user_id == tostring(our_id) then
|
|
|
|
return "Ich werde mich nicht selbst kicken!"
|
|
|
|
else
|
2016-08-24 15:38:29 +02:00
|
|
|
local request = bindings.request('kickChatMember', {
|
2016-07-17 13:22:27 +02:00
|
|
|
chat_id = chat_id,
|
|
|
|
user_id = user_id
|
|
|
|
} )
|
2016-08-16 17:05:20 +02:00
|
|
|
local hash = 'chat:'..chat_id..':users'
|
|
|
|
print('User '..user_id..' was kicked/left the chat, deleting them from redis set '..hash)
|
|
|
|
redis:srem(hash, user_id)
|
2016-07-17 13:22:27 +02:00
|
|
|
if onlykick then return end
|
|
|
|
if not request then return 'User gebannt, aber kicken war nicht erfolgreich. Bin ich Administrator oder ist der User hier überhaupt?' end
|
|
|
|
return 'User '..user_id..' gebannt!'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-08-24 15:38:29 +02:00
|
|
|
function banhammer:ban_user(user_id, chat_id)
|
2016-07-17 13:22:27 +02:00
|
|
|
if user_id == tostring(our_id) then
|
|
|
|
return "Ich werde mich nicht selbst kicken!"
|
|
|
|
else
|
|
|
|
-- Save to redis
|
|
|
|
local hash = 'banned:'..chat_id..':'..user_id
|
|
|
|
redis:set(hash, true)
|
|
|
|
-- Kick from chat
|
2016-08-24 15:38:29 +02:00
|
|
|
return banhammer:kick_user(user_id, chat_id)
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-08-24 15:38:29 +02:00
|
|
|
function banhammer:unban_user(user_id, chat_id, chat_type)
|
2016-07-17 13:22:27 +02:00
|
|
|
local hash = 'banned:'..chat_id..':'..user_id
|
|
|
|
redis:del(hash)
|
2016-08-15 23:14:28 +02:00
|
|
|
if chat_type == 'supergroup' then
|
2016-08-24 15:38:29 +02:00
|
|
|
bindings.request('unbanChatMember', {
|
2016-07-17 13:22:27 +02:00
|
|
|
chat_id = chat_id,
|
|
|
|
user_id = user_id
|
|
|
|
} )
|
|
|
|
end
|
|
|
|
return 'User '..user_id..' wurde entbannt.'
|
|
|
|
end
|
|
|
|
|
|
|
|
function banhammer:is_banned(user_id, chat_id)
|
|
|
|
local hash = 'banned:'..chat_id..':'..user_id
|
|
|
|
local banned = redis:get(hash)
|
|
|
|
return banned or false
|
|
|
|
end
|
|
|
|
|
|
|
|
function banhammer:is_user_whitelisted(id)
|
|
|
|
local hash = 'whitelist:user#id'..id
|
|
|
|
local white = redis:get(hash) or false
|
|
|
|
return white
|
|
|
|
end
|
|
|
|
|
|
|
|
function banhammer:is_chat_whitelisted(id)
|
|
|
|
local hash = 'whitelist:chat#id'..id
|
|
|
|
local white = redis:get(hash) or false
|
|
|
|
return white
|
|
|
|
end
|
|
|
|
|
2016-08-24 15:38:29 +02:00
|
|
|
function banhammer:pre_process(msg, config)
|
2016-07-17 13:22:27 +02:00
|
|
|
-- SERVICE MESSAGE
|
|
|
|
if msg.new_chat_member then
|
|
|
|
local user_id = msg.new_chat_member.id
|
|
|
|
print('Checking invited user '..user_id)
|
|
|
|
local banned = banhammer:is_banned(user_id, msg.chat.id)
|
|
|
|
if banned then
|
|
|
|
print('User is banned!')
|
2016-08-24 15:38:29 +02:00
|
|
|
banhammer:kick_user(user_id, msg.chat.id, true)
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
-- No further checks
|
|
|
|
return msg
|
|
|
|
end
|
|
|
|
|
|
|
|
-- BANNED USER TALKING
|
2016-08-15 23:14:28 +02:00
|
|
|
local user_id = msg.from.id
|
|
|
|
local chat_id = msg.chat.id
|
2016-07-17 13:22:27 +02:00
|
|
|
if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then
|
|
|
|
local banned = banhammer:is_banned(user_id, chat_id)
|
|
|
|
if banned then
|
|
|
|
print('Banned user talking!')
|
2016-08-24 15:38:29 +02:00
|
|
|
banhammer:ban_user(user_id, chat_id)
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2016-08-15 23:14:28 +02:00
|
|
|
-- BLOCKED USER TALKING (block = user can't use bot, but won't be kicked from group)
|
|
|
|
local hash = 'blocked:'..user_id
|
|
|
|
local issudo = is_sudo(msg, config)
|
|
|
|
local blocked = redis:get(hash)
|
|
|
|
if blocked and not issudo then
|
|
|
|
print('User '..user_id..' blocked')
|
|
|
|
return
|
|
|
|
end
|
2016-07-17 13:22:27 +02:00
|
|
|
|
2016-08-15 23:14:28 +02:00
|
|
|
-- WHITELIST
|
2016-07-17 13:22:27 +02:00
|
|
|
local hash = 'whitelist:enabled'
|
|
|
|
local whitelist = redis:get(hash)
|
|
|
|
|
|
|
|
-- Allow all sudo users even if whitelist is allowed
|
|
|
|
if whitelist and not issudo then
|
2017-05-10 13:35:21 +02:00
|
|
|
--print('Whitelist enabled and not sudo')
|
2016-07-17 13:22:27 +02:00
|
|
|
-- Check if user or chat is whitelisted
|
2016-08-15 23:14:28 +02:00
|
|
|
local allowed = banhammer:is_user_whitelisted(user_id)
|
|
|
|
local has_been_warned = redis:hget('user:'..user_id, 'has_been_warned')
|
2016-07-17 13:22:27 +02:00
|
|
|
|
|
|
|
if not allowed then
|
2017-05-10 13:35:21 +02:00
|
|
|
--print('User '..user_id..' not whitelisted')
|
2016-07-17 13:22:27 +02:00
|
|
|
if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then
|
2016-08-15 23:14:28 +02:00
|
|
|
allowed = banhammer:is_chat_whitelisted(chat_id)
|
2016-07-17 13:22:27 +02:00
|
|
|
if not allowed then
|
2017-05-10 13:35:21 +02:00
|
|
|
--print ('Chat '..chat_id..' not whitelisted')
|
2016-07-17 13:22:27 +02:00
|
|
|
else
|
2017-05-10 13:35:21 +02:00
|
|
|
--print ('Chat '..chat_id..' whitelisted :)')
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
else
|
|
|
|
if not has_been_warned then
|
2016-09-04 15:38:32 +02:00
|
|
|
utilities.send_reply(msg, config.banhammer_text or [[
|
|
|
|
Dies ist ein privater Bot, der erst nach einer Freischaltung benutzt werden kann.
|
|
|
|
This is a private bot, which can only be used after an approval.
|
|
|
|
]])
|
2016-08-15 23:14:28 +02:00
|
|
|
redis:hset('user:'..user_id, 'has_been_warned', true)
|
2016-07-17 13:22:27 +02:00
|
|
|
else
|
|
|
|
print('User has already been warned!')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
2017-05-10 13:35:21 +02:00
|
|
|
--print('User '..user_id..' allowed :)')
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
if not allowed then
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
return msg
|
|
|
|
end
|
|
|
|
|
|
|
|
function banhammer:action(msg, config, matches)
|
2016-08-15 23:14:28 +02:00
|
|
|
if not is_sudo(msg, config) then
|
2016-08-16 17:27:51 +02:00
|
|
|
return -- Silent ignore
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
|
2016-08-15 23:14:28 +02:00
|
|
|
if matches[1] == 'leave' then
|
2016-09-07 23:51:44 +02:00
|
|
|
if matches[2] then
|
|
|
|
chat_id = matches[2]
|
|
|
|
else
|
|
|
|
chat_id = msg.chat.id
|
|
|
|
end
|
|
|
|
local result = bindings.request('leaveChat', {
|
|
|
|
chat_id = chat_id
|
|
|
|
} )
|
|
|
|
if matches[2] and result then
|
|
|
|
utilities.send_reply(msg, 'Chat verlassen!')
|
|
|
|
elseif matches[2] and not result then
|
|
|
|
utilities.send_reply(msg, 'Chat konnte nicht verlassen werden, ist die ID/der Name korrekt?')
|
2016-08-15 23:14:28 +02:00
|
|
|
end
|
2016-09-07 23:51:44 +02:00
|
|
|
return
|
2016-08-15 23:14:28 +02:00
|
|
|
end
|
|
|
|
|
2016-07-17 13:22:27 +02:00
|
|
|
if matches[1] == 'ban' then
|
|
|
|
local user_id = matches[3]
|
|
|
|
local chat_id = msg.chat.id
|
2016-08-15 23:14:28 +02:00
|
|
|
if not user_id then
|
|
|
|
if not msg.reply_to_message then
|
|
|
|
return
|
|
|
|
end
|
2016-08-16 17:27:51 +02:00
|
|
|
if msg.reply_to_message.new_chat_member then
|
|
|
|
user_id = msg.reply_to_message.new_chat_member.id
|
|
|
|
elseif msg.reply_to_message.left_chat_member then
|
|
|
|
user_id = msg.reply_to_message.left_chat_member.id
|
|
|
|
else
|
|
|
|
user_id = msg.reply_to_message.from.id
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
end
|
2016-07-17 13:22:27 +02:00
|
|
|
|
|
|
|
if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then
|
2016-08-15 23:14:28 +02:00
|
|
|
if matches[2] == 'user' or not matches[2] then
|
2016-08-24 15:38:29 +02:00
|
|
|
local text = banhammer:ban_user(user_id, chat_id)
|
|
|
|
utilities.send_reply(msg, text)
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
if matches[2] == 'delete' then
|
2016-08-24 15:38:29 +02:00
|
|
|
local text = banhammer:unban_user(user_id, chat_id, msg.chat.type)
|
|
|
|
utilities.send_reply(msg, text)
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
else
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Das ist keine Chat-Gruppe')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[1] == 'kick' then
|
|
|
|
if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then
|
2016-08-15 23:14:28 +02:00
|
|
|
local user_id = matches[2]
|
|
|
|
if not user_id then
|
|
|
|
if not msg.reply_to_message then
|
|
|
|
return
|
|
|
|
end
|
2016-08-16 17:27:51 +02:00
|
|
|
if msg.reply_to_message.new_chat_member then
|
|
|
|
user_id = msg.reply_to_message.new_chat_member.id
|
|
|
|
else
|
|
|
|
user_id = msg.reply_to_message.from.id
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
end
|
2016-08-24 15:38:29 +02:00
|
|
|
banhammer:kick_user(user_id, msg.chat.id, true)
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
else
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Das ist keine Chat-Gruppe')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[1] == 'whitelist' then
|
|
|
|
if matches[2] == 'enable' then
|
|
|
|
local hash = 'whitelist:enabled'
|
|
|
|
redis:set(hash, true)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Whitelist aktiviert')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'disable' then
|
|
|
|
local hash = 'whitelist:enabled'
|
|
|
|
redis:del(hash)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Whitelist deaktiviert')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
|
|
|
|
if not matches[2] then
|
|
|
|
if not msg.reply_to_message then
|
|
|
|
return
|
|
|
|
end
|
2016-08-16 17:27:51 +02:00
|
|
|
if msg.reply_to_message.new_chat_member then
|
|
|
|
user_id = msg.reply_to_message.new_chat_member.id
|
|
|
|
else
|
|
|
|
user_id = msg.reply_to_message.from.id
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
local hash = 'whitelist:user#id'..user_id
|
|
|
|
redis:set(hash, true)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..user_id..' whitelisted')
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'delete' and not matches[3] then
|
|
|
|
if not msg.reply_to_message then
|
|
|
|
return
|
|
|
|
end
|
2016-08-16 17:27:51 +02:00
|
|
|
if msg.reply_to_message.new_chat_member then
|
|
|
|
user_id = msg.reply_to_message.new_chat_member.id
|
|
|
|
elseif msg.reply_to_message.left_chat_member then
|
|
|
|
user_id = msg.reply_to_message.left_chat_member.id
|
|
|
|
else
|
|
|
|
user_id = msg.reply_to_message.from.id
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
local hash = 'whitelist:user#id'..user_id
|
|
|
|
redis:del(hash)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..user_id..' von der Whitelist entfernt!')
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
|
|
|
end
|
2016-07-17 13:22:27 +02:00
|
|
|
|
|
|
|
if matches[2] == 'user' then
|
|
|
|
local hash = 'whitelist:user#id'..matches[3]
|
|
|
|
redis:set(hash, true)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..matches[3]..' whitelisted')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'chat' then
|
|
|
|
if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then
|
|
|
|
local hash = 'whitelist:chat#id'..msg.chat.id
|
|
|
|
redis:set(hash, true)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Chat '..msg.chat.id..' whitelisted')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
else
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Das ist keine Chat-Gruppe!')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'delete' and matches[3] == 'user' then
|
|
|
|
local hash = 'whitelist:user#id'..matches[4]
|
|
|
|
redis:del(hash)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..matches[4]..' von der Whitelist entfernt!')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'delete' and matches[3] == 'chat' then
|
|
|
|
if msg.chat.type == 'group' or msg.chat.type == 'supergroup' then
|
|
|
|
local hash = 'whitelist:chat#id'..msg.chat.id
|
|
|
|
redis:del(hash)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Chat '..msg.chat.id..' von der Whitelist entfernt')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
else
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'Das ist keine Chat-Gruppe!')
|
2016-07-17 13:22:27 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
if matches[1] == 'block' then
|
|
|
|
|
|
|
|
if matches[2] == 'user' and matches[3] then
|
|
|
|
local hash = 'blocked:'..matches[3]
|
|
|
|
redis:set(hash, true)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..matches[3]..' darf den Bot nun nicht mehr nutzen.')
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'delete' and matches[3] then
|
|
|
|
local hash = 'blocked:'..matches[3]
|
|
|
|
redis:del(hash)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..matches[3]..' darf den Bot wieder nutzen.')
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if not matches[2] then
|
|
|
|
if not msg.reply_to_message then
|
|
|
|
return
|
|
|
|
end
|
2016-08-16 17:27:51 +02:00
|
|
|
if msg.reply_to_message.new_chat_member then
|
|
|
|
user_id = msg.reply_to_message.new_chat_member.id
|
|
|
|
elseif msg.reply_to_message.left_chat_member then
|
|
|
|
user_id = msg.reply_to_message.left_chat_member.id
|
|
|
|
else
|
|
|
|
user_id = msg.reply_to_message.from.id
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
local hash = 'blocked:'..user_id
|
|
|
|
redis:set(hash, true)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..user_id..' darf den Bot nun nicht mehr nutzen.')
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
if matches[2] == 'delete' and not matches[3] then
|
|
|
|
if not msg.reply_to_message then
|
|
|
|
return
|
|
|
|
end
|
2016-08-16 17:27:51 +02:00
|
|
|
if msg.reply_to_message.new_chat_member then
|
|
|
|
user_id = msg.reply_to_message.new_chat_member.id
|
|
|
|
elseif msg.reply_to_message.left_chat_member then
|
|
|
|
user_id = msg.reply_to_message.left_chat_member.id
|
|
|
|
else
|
|
|
|
user_id = msg.reply_to_message.from.id
|
|
|
|
end
|
2016-08-15 23:14:28 +02:00
|
|
|
local hash = 'blocked:'..user_id
|
|
|
|
redis:del(hash)
|
2016-08-24 15:38:29 +02:00
|
|
|
utilities.send_reply(msg, 'User '..user_id..' darf den Bot wieder nutzen.')
|
2016-08-15 23:14:28 +02:00
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2016-07-17 13:22:27 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
return banhammer
|