projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up and refactor the blowfish encryption stuff
[quassel.git]
/
src
/
common
/
ircuser.cpp
diff --git
a/src/common/ircuser.cpp
b/src/common/ircuser.cpp
index
1dbb0f0
..
95892c4
100644
(file)
--- a/
src/common/ircuser.cpp
+++ b/
src/common/ircuser.cpp
@@
-47,10
+47,7
@@
IrcUser::IrcUser(const QString &hostmask, Network *network) : SyncableObject(net
_codecForDecoding(0)
{
updateObjectName();
_codecForDecoding(0)
{
updateObjectName();
-
- #ifdef HAVE_QCA2
- _cipher = 0;
- #endif
+
}
IrcUser::~IrcUser() {
}
IrcUser::~IrcUser() {
@@
-314,16
+311,3
@@
void IrcUser::setLastSpokenTo(BufferId buffer, const QDateTime &time) {
_lastSpokenTo[buffer] = time;
emit lastSpokenToUpdated(buffer, time);
}
_lastSpokenTo[buffer] = time;
emit lastSpokenToUpdated(buffer, time);
}
-
-#ifdef HAVE_QCA2
-Cipher* IrcUser::cipher() {
- if(!_cipher)
- _cipher = new Cipher();
- return _cipher;
-}
-#endif
-
-void IrcUser::setEncrypted(bool e) {
- Q_UNUSED(e);
- // TODO
-}
\ No newline at end of file