summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-07-17 14:04:40 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-07-17 14:04:40 +0300
commitb3e7aa3f685ace7e0104fc94cd07c901a129f5b9 (patch)
tree1f462e43b37843778d5e99902681f57990688f43
parent34215e3c3e8eaa5e1c4e6107a185a1821b51c0ce (diff)
modified: main.cpp
modified: options.cpp modified: utilities.cpp modified: utilities.h
-rw-r--r--main.cpp2
-rw-r--r--options.cpp2
-rw-r--r--utilities.cpp10
-rw-r--r--utilities.h1
4 files changed, 5 insertions, 10 deletions
diff --git a/main.cpp b/main.cpp
index 6d080bc..986f3ae 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,4 +1,4 @@
-// Copyright © 2010 sss, chaos.persei
+// Copyright © 2010 sss
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
diff --git a/options.cpp b/options.cpp
index b6b57ce..543fdfa 100644
--- a/options.cpp
+++ b/options.cpp
@@ -1,4 +1,4 @@
-// Copyright © 2010 sss, chaos.persei
+// Copyright © 2010 sss
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
diff --git a/utilities.cpp b/utilities.cpp
index 87f4802..c26ac83 100644
--- a/utilities.cpp
+++ b/utilities.cpp
@@ -1,4 +1,4 @@
-// Copyright © 2010 sss, chaos.persei
+// Copyright © 2010 sss
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -66,6 +66,7 @@ static JABBER_HANDLER_FUNC PrescenseHandler(IJabberInterface *ji, HXML node, voi
static JABBER_HANDLER_FUNC MessageHandler(IJabberInterface *ji, HXML node, void *pUserData);
static JABBER_HANDLER_FUNC IqHandler(IJabberInterface *ji, HXML node, void *pUserData);
+
int HandleDbNewContact(WPARAM w, LPARAM l)
{
list <JabberAccount*>::iterator p = Accounts.begin();
@@ -155,12 +156,7 @@ static JABBER_HANDLER_FUNC IqHandler(IJabberInterface *ji, HXML node, void *pUse
return FALSE;
}
-BOOL JabberAccount::operator!()
-{
- if(!this)
- return TRUE;
- return FALSE;
-}
+
JabberAccount::JabberAccount()
{
AccountName = _T("");
diff --git a/utilities.h b/utilities.h
index e31e35f..8b67393 100644
--- a/utilities.h
+++ b/utilities.h
@@ -24,7 +24,6 @@ public:
int AccountNumber;
IJabberInterface *JabberInterface;
HJHANDLER hPrescenseHandler, hMessageHandler, hIqHandler;
- BOOL operator !();
};
#endif