diff options
Diffstat (limited to 'protocols/Dummy/src/dummy.h')
-rw-r--r-- | protocols/Dummy/src/dummy.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/protocols/Dummy/src/dummy.h b/protocols/Dummy/src/dummy.h index 32ddb8d345..2dd22bc769 100644 --- a/protocols/Dummy/src/dummy.h +++ b/protocols/Dummy/src/dummy.h @@ -70,13 +70,5 @@ static const ttemplate templates[] = struct CMPlugin : public ACCPROTOPLUGIN<CDummyProto>
{
- CMPlugin() :
- ACCPROTOPLUGIN<CDummyProto>("Dummy")
- {
- int id = db_get_b(0, m_szModuleName, DUMMY_ID_TEMPLATE, -1);
- if (id < 0 || id >= _countof(templates))
- SetUniqueId(ptrA(db_get_sa(0, m_szModuleName, DUMMY_ID_SETTING)));
- else
- SetUniqueId(templates[id].setting);
- }
+ CMPlugin();
};
|