This commit is contained in:
Akamaru 2015-11-21 19:23:59 +01:00
parent b4f1f06365
commit 4211935a44
2 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@ local function switch_afk(user_name, user_id, chat_id, text)
if is_offline(hash) then
local afk_text = get_afk_text(hash)
if afk_text then
return 'Du bist bereits AFK ('..afk_text..')!'
return 'Du bist bereits AFK! ('..afk_text..')'
else
return 'Du bist bereits AFK!'
end
@ -60,7 +60,7 @@ local function pre_process(msg)
redis:hset(hash, 'afk', false)
if afk_text then
redis:hset(hash, 'afk_text', false)
send_msg(receiver, user_name..' ist wieder da (war: '..afk_text..')!', ok_cb, false)
send_msg(receiver, user_name..' ist wieder da! (war: '..afk_text..')', ok_cb, false)
else
send_msg(receiver, user_name..' ist wieder da!', ok_cb, false)
end

View File

@ -20,7 +20,8 @@ function getTitle(page)
s = string.gsub(s, "ψ", "ψ")
s = string.gsub(s, "»", "»")
s = string.gsub(s, "ß", "ß")
s = string.gsub(s, "™", "")
s = string.gsub(s, "™", "")
s = string.gsub(s, "'", "'")
s = string.gsub(s, "'", "'")
s = string.gsub(s, "|", "|")
s = string.gsub(s, " ", " ")