This commit is contained in:
Nayruden 2013-06-01 17:38:28 -04:00
parent f41d7df07a
commit 90eb800b35
2 changed files with 4 additions and 3 deletions

View File

@ -50,6 +50,7 @@ v2.51 - *(00/00/00)*
* [FIX] Calling SetUserGroup not passing on information to clients (Thanks, Bo98).
* [FIX] Garry's File I/O bugs by wrapping all his I/O.
* [FIX] A user group lower casing that no longer belonged in the code (Thanks, iamalexer).
* [FIX] Some issues with casing in ULib commands (Thanks, TheSpy7).
* [REMOVED] Temp garry-patch for reading from the data directory that appears to be fixed now.
v2.50 - *(01/27/13)*

View File

@ -1086,7 +1086,7 @@ function cmds.TranslateCommand:instantiate( cmd, fn, say_cmd, hide_say, no_space
self.args = {}
self.fn = fn
self.cmd = cmd -- We need this for usage print
translatedCmds[ cmd ] = self
translatedCmds[ cmd:lower() ] = self
cmds.addCommand( cmd, translateCmdCallback, translateAutocompleteCallback, cmd, say_cmd, hide_say, no_space_in_say )
end
@ -1144,7 +1144,7 @@ function cmds.TranslateCommand:setOpposite( cmd, args, say_cmd, hide_say, no_spa
ULib.checkArg( 5, "ULib.cmds.TranslateCommand:setOpposite", {"nil", "boolean"}, no_space_in_say )
self.opposite = cmd
translatedCmds[ cmd ] = self
translatedCmds[ cmd:lower() ] = self
self.oppositeArgs = args
cmds.addCommand( cmd, translateCmdCallback, translateAutocompleteCallback, cmd, say_cmd, hide_say, no_space_in_say )
@ -1457,7 +1457,7 @@ function cmds.addCommand( cmd, fn, autocomplete, access_string, say_cmd, hide_sa
ULib.addSayCommand( say_cmd[ i ], sayCommandCallback, cmd, hide_say, no_space_in_say )
local translatedCommand = say_cmd[ i ] .. (no_space_in_say and "" or " ")
ULib.sayCmds[ translatedCommand ].__cmd = cmd -- Definitely needs refactoring at some point...
ULib.sayCmds[ translatedCommand:lower() ].__cmd = cmd -- Definitely needs refactoring at some point...
end
end
end