mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-09-07 07:27:12 +02:00
Fixed excpetion throwing in INI document to that generated corrupted messages because snprintf was used instead of vsnprintf.
Revised most of the INI plugin and cleaned code.
This commit is contained in:
@@ -619,7 +619,7 @@ SQMOD_API_EXPORT unsigned int VcmpPluginInit(PluginFuncs* functions, PluginCallb
|
||||
_Info = info;
|
||||
// Assign plugin information
|
||||
_Info->uPluginVer = SQIRC_VERSION;
|
||||
strcpy(_Info->szName, SQIRC_HOST_NAME);
|
||||
std::strcpy(_Info->szName, SQIRC_HOST_NAME);
|
||||
// Bind callbacks
|
||||
BindCallbacks();
|
||||
// Notify that the plugin was successfully loaded
|
||||
|
||||
Reference in New Issue
Block a user