X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsessionthread.h;h=c215590f5498771e4782168f6167bd1a35b672f4;hp=fee6e64f1da48aec638bf528600534d7e34998ca;hb=5fc6f7e2d63b45770574260afd6ce535e9548d23;hpb=5e6f3661d30bc760f912dfe0627e5c62c6f2c144 diff --git a/src/core/sessionthread.h b/src/core/sessionthread.h index fee6e64f..c215590f 100644 --- a/src/core/sessionthread.h +++ b/src/core/sessionthread.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -36,7 +36,7 @@ class SessionThread : public QThread Q_OBJECT public: - SessionThread(UserId user, bool restoreState, QObject *parent = 0); + SessionThread(UserId user, bool restoreState, bool strictIdentEnabled, QObject *parent = 0); ~SessionThread(); void run(); @@ -64,6 +64,9 @@ private: bool _sessionInitialized; bool _restoreState; + /// Whether or not strict ident mode is enabled, locking users' idents to Quassel username + bool _strictIdentEnabled; + bool isSessionInitialized(); void addClientToSession(QObject *peer); void addRemoteClientToSession(RemotePeer *remotePeer);