Skip to content

Commit ac687ad

Browse files
committed
Fixing ml_sockets: Epilogue
1 parent 2ec8ca0 commit ac687ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sockets/src/ml_sockets.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*********************************************************/
1818

1919
#include "ml_sockets.h"
20+
#include "luaimports.h"
2021

2122
ILuaModuleManager10 *pModuleManager = NULL;
2223

@@ -30,6 +31,8 @@ MTAEXPORT bool InitModule ( ILuaModuleManager10 *pManager, char *szModuleName, c
3031
strncpy ( szAuthor, MODULE_AUTHOR, MAX_INFO_LENGTH );
3132
(*fVersion) = MODULE_VERSION;
3233

34+
ImportLua();
35+
3336
#ifdef WIN32
3437
WSADATA wsaData;
3538
if ( WSAStartup ( MAKEWORD ( 2, 2 ), &wsaData ) != 0 )

0 commit comments

Comments
 (0)