Fixes in rule violations and private chat

This commit is contained in:
Eduardo Bart
2013-02-28 22:01:41 -03:00
parent dad3026ba0
commit 120c2b4231
3 changed files with 5 additions and 3 deletions

View File

@@ -187,8 +187,8 @@ function onVipListLabelMousePress(widget, mousePos, mouseButton)
if modules.game_console.getOwnPrivateTab() then
menu:addSeparator()
menu:addOption(tr('Invite to private chat'), function() g_game.inviteToOwnChannel(creatureName) end)
menu:addOption(tr('Exclude from private chat'), function() g_game.excludeFromOwnChannel(creatureName) end)
menu:addOption(tr('Invite to private chat'), function() g_game.inviteToOwnChannel(widget:getText()) end)
menu:addOption(tr('Exclude from private chat'), function() g_game.excludeFromOwnChannel(widget:getText()) end)
end
if not isHiddingOffline() then