X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreircuser.cpp;h=d1e4ee152fa3fe882d654aff7c11b292c0a04f89;hp=00b59799c14af38b6a651785cd9e7711e84d0124;hb=0dfaab93892aee333f7b838658ef85b9ff270ba7;hpb=6f0a153a674317d77233139fc50a2985af86e36e diff --git a/src/core/coreircuser.cpp b/src/core/coreircuser.cpp index 00b59799..d1e4ee15 100644 --- a/src/core/coreircuser.cpp +++ b/src/core/coreircuser.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2010 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,34 +15,35 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "coreircuser.h" -CoreIrcUser::CoreIrcUser(const QString &hostmask, Network *network) : IrcUser(hostmask, network) { +CoreIrcUser::CoreIrcUser(const QString &hostmask, Network *network) : IrcUser(hostmask, network) +{ #ifdef HAVE_QCA2 - _cipher = 0; + _cipher = 0; #endif } -CoreIrcUser::~CoreIrcUser() { + +CoreIrcUser::~CoreIrcUser() +{ #ifdef HAVE_QCA2 - delete _cipher; + delete _cipher; #endif } + #ifdef HAVE_QCA2 -Cipher *CoreIrcUser::cipher() const { - if(!_cipher) - _cipher = new Cipher(); +Cipher *CoreIrcUser::cipher() const +{ + if (!_cipher) + _cipher = new Cipher(); - return _cipher; + return _cipher; } -void CoreIrcUser::setEncrypted(bool e) { - Q_UNUSED(e); - // TODO -} #endif