Skip to content

Commit

Permalink
add profanity filter
Browse files Browse the repository at this point in the history
  • Loading branch information
icyblade committed Apr 14, 2020
1 parent 86dbeae commit 6f51ed9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Modules/Others/Init.xml
Expand Up @@ -4,4 +4,5 @@
<Include file="AutoJoinBigFoot.lua"/>
<Include file="DisableNameInTown.lua"/>
<Include file="FastLoot.lua"/>
<Include file="ProfanityFilter.lua"/>
</Ui>
10 changes: 10 additions & 0 deletions Modules/Others/ProfanityFilter.lua
@@ -0,0 +1,10 @@
local _, Engine = ...

Engine.Modules.Utils.AutoDismount =
Engine.AceEvent:RegisterEvent(
'LOADING_SCREEN_DISABLED',
function(...)
ConsoleExec('portal TW')
ConsoleExec('profanityFilter 0')
end
)

0 comments on commit 6f51ed9

Please sign in to comment.