X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreircuser.cpp;h=5fa7f40da47073b45a9ed3bac78353e2c6d417e9;hp=367474b509ae53dc7bbd4a52cfb16ff107546422;hb=16f22647e6890d3eb8c3e94f7a0700e12fa29e44;hpb=fdfd62334f728bd05470c5191194d55027fec86e diff --git a/src/core/coreircuser.cpp b/src/core/coreircuser.cpp index 367474b5..5fa7f40d 100644 --- a/src/core/coreircuser.cpp +++ b/src/core/coreircuser.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2016 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