X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=a9ede2e36ab46d576b097a5658eec4599f5647f5;hp=45e159666bd6621ca103e3eb2fbb729444ed37ea;hb=67e4eb295238453c94da41185bcdb20d908859d6;hpb=ab8127d2193d7d9de9e41b9f454911fdd07e49df diff --git a/src/core/core.h b/src/core/core.h index 45e15966..a9ede2e3 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -672,6 +672,14 @@ public: static inline QDateTime startTime() { return instance()->_startTime; } static inline bool isConfigured() { return instance()->_configured; } + + /** + * Whether or not strict ident mode is enabled, locking users' idents to Quassel username + * + * @return True if strict mode enabled, otherwise false + */ + static inline bool strictIdentEnabled() { return instance()->_strictIdentEnabled; } + static bool sslSupported(); /** @@ -787,6 +795,9 @@ private: bool _configured; + /// Whether or not strict ident mode is enabled, locking users' idents to Quassel username + bool _strictIdentEnabled; + static std::unique_ptr getMigrationReader(Storage *storage); static std::unique_ptr getMigrationWriter(Storage *storage); static void stdInEcho(bool on);