Disable patterns in string.find for GAMEMODE.OnChatTab #1144

Merged
merged 1 commit into from Mar 22, 2016

Projects

None yet

2 participants

@Chewgum
Contributor
Chewgum commented Mar 12, 2016

Disable patterns in string.find, people might have shit names such as [gay clan name] name

produces this error otherwise: Error in hook OnChatTab: gamemodes/base/gamemode/cl_init.lua:193: malformed pattern (missing ']&apos stack traceback: [C]: in function 'find'

@Chewgum Chewgum Update cl_init.lua
Disable patterns in string.find, people might have shit names such as [gay clan name] name

produces this error otherwise: Error in hook OnChatTab: gamemodes/base/gamemode/cl_init.lua:193: malformed pattern (missing ']&apos stack traceback: [C]: in function 'find'
9b151a0
@Chewgum Chewgum changed the title from Update cl_init.lua to Disable patterns in string.find for GAMEMODE.OnChatTab Mar 12, 2016
@robotboy655 robotboy655 merged commit 7622eb9 into garrynewman:master Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment