Browse Source

enet: remove deprecated host:socket_get_address (replaced by host:get_socket_address).

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
889aaceabf
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/libraries/enet/enet.cpp

+ 0 - 3
src/libraries/enet/enet.cpp

@@ -734,9 +734,6 @@ static const struct luaL_Reg enet_host_funcs [] = {
 	// Since ENetSocket isn't part of enet-lua, we should try to keep
 	// naming conventions the same as the rest of the lib.
 	{"get_socket_address", host_get_socket_address},
-	// TODO: Remove the line below in future versions, it's for backward
-	// compatibility only.
-	{"socket_get_address", host_get_socket_address},
 	// We need this function to free up our ports when needed!
 	{"destroy", host_gc},