diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-29 07:20:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-29 07:20:54 +0000 |
commit | 6e05bfee48c12fcbe2a4533b47d56a58c91c3424 (patch) | |
tree | e43496309f789d9aa4edc72fb33b71203f6dcb52 /plugins/TabSRMM/src/chat/services.cpp | |
parent | 4288888f3d2e05dddcd953e891e97b98bf008b55 (diff) |
no need load dll when lib linked
old code about chat.dll removed from tabsrmm
git-svn-id: http://svn.miranda-ng.org/main/trunk@6266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat/services.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat/services.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/TabSRMM/src/chat/services.cpp b/plugins/TabSRMM/src/chat/services.cpp index 60ca0f1ea4..73b9fcc1bd 100644 --- a/plugins/TabSRMM/src/chat/services.cpp +++ b/plugins/TabSRMM/src/chat/services.cpp @@ -1,7 +1,4 @@ /*
- * astyle --force-indent=tab=4 --brackets=linux --indent-switches
- * --pad=oper --one-line=keep-blocks --unpad=paren
- *
* Miranda NG: the free IM client for Microsoft* Windows*
*
* Copyright 2000-2009 Miranda ICQ/IM project,
@@ -44,9 +41,6 @@ HGENMENU hJoinMenuItem, hLeaveMenuItem; int Chat_ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
- if (!PluginConfig.m_chat_enabled)
- return 0;
-
char * mods[3] = {"Chat", CHAT_FONTMODULE};
CallService("DBEditorpp/RegisterModule", (WPARAM)mods, (LPARAM)2);
@@ -808,16 +802,6 @@ void UnhookEvents(void) int CreateServiceFunctions(void)
{
- PluginConfig.m_chat_enabled = false;
-
- if (ServiceExists(MS_GC_REGISTER)) {
- LRESULT result = CWarning::show(CWarning::WARN_CHAT_ENABLED, CWarning::CWF_NOALLOWHIDE | MB_YESNOCANCEL | MB_ICONQUESTION);
- if (result == IDYES)
- db_set_b(0, "PluginDisable", "chat.dll", 1);
- return 0;
- }
- PluginConfig.m_chat_enabled = true;
-
CreateServiceFunction(MS_GC_REGISTER, Service_Register);
CreateServiceFunction(MS_GC_NEWSESSION, Service_NewChat);
CreateServiceFunction(MS_GC_EVENT, Service_AddEvent);
|