summaryrefslogtreecommitdiff
path: root/otr/dllmain.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-11-01 14:08:58 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-11-01 14:08:58 +0000
commit3f5630dafe6657f6762e9454366a48fcbb0a99a8 (patch)
tree52d572efbfa1283709bddb31ebcefd4b12f41b0e /otr/dllmain.cpp
parent821fad9d438d90e0ee23587c4f3d28400cd62ab4 (diff)
changed updater beta changelog URLs due to website websvn config change
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@378 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'otr/dllmain.cpp')
-rw-r--r--otr/dllmain.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/otr/dllmain.cpp b/otr/dllmain.cpp
index f4f13b7..c254fcc 100644
--- a/otr/dllmain.cpp
+++ b/otr/dllmain.cpp
@@ -1260,7 +1260,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
update.szComponentName = pluginInfo.shortName;
update.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szVersion);
update.cpbVersion = strlen((char *)update.pbVersion);
- update.szBetaChangelogURL = "https://server.scottellis.com.au/websvn/log.php?repname=Miranda+Plugins&path=%2Fotr%2F&rev=0&sc=0&isdir=1";
+ update.szBetaChangelogURL = "https://server.scottellis.com.au/wsvn/mim_plugs/otr/?op=log&rev=0&sc=0&isdir=1";
update.szUpdateURL = UPDATER_AUTOREGISTER;
@@ -1280,11 +1280,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
InitUtils();
InitMenu();
- // filter added db events, so that we can add the prefix if the option is enabled
- // (done here rather than in Load, so that MessageNotify and other such plugins can hook first - this hooks
- // later, so it's at the start of the event chain, and can replace db events without e.g. double popups)
- hEventDbEventAddedFilter = HookEvent(ME_DB_EVENT_FILTER_ADD, OnDatabaseEventPreAdd);
-
// hooked so we can remove OFF THE RECORD items from the database
hEventDbEventAdded = HookEvent(ME_DB_EVENT_ADDED, OnDatabaseEventAdd);
@@ -1393,6 +1388,8 @@ extern "C" DLLIMPORT int Load(PLUGINLINK *link) {
// hook modules loaded for updater support
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
+ // filter added db events, so that we can add the prefix if the option is enabled
+ hEventDbEventAddedFilter = HookEvent(ME_DB_EVENT_FILTER_ADD, OnDatabaseEventPreAdd);
return 0;
}