diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-20 11:57:43 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-20 11:57:43 +0300 |
commit | 3420f0f1d98d5c7076f4cb9c6ea23b2e4ab462e1 (patch) | |
tree | 96364f577cfe62e8bb61f2c7948c545a6a89025c /protocols/Dummy/src/main.cpp | |
parent | 3d56e7622af87e2f39ba759ee3761dafc8278d56 (diff) |
Dummy: the support for Discord accounts disabled in the trunk version
Diffstat (limited to 'protocols/Dummy/src/main.cpp')
-rw-r--r-- | protocols/Dummy/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Dummy/src/main.cpp b/protocols/Dummy/src/main.cpp index cac974280c..340b79fae8 100644 --- a/protocols/Dummy/src/main.cpp +++ b/protocols/Dummy/src/main.cpp @@ -38,7 +38,7 @@ CMPlugin::CMPlugin() : ACCPROTOPLUGIN<CDummyProto>("Dummy", pluginInfoEx)
{
int id = db_get_b(0, m_szModuleName, DUMMY_ID_TEMPLATE, -1);
- if (id < 0 || id >= _countof(templates))
+ if (id < 0)
SetUniqueId(ptrA(db_get_sa(0, m_szModuleName, DUMMY_ID_SETTING)));
else
SetUniqueId(templates[id].setting);
|