projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix core crash
[quassel.git]
/
src
/
core
/
coreircchannel.cpp
diff --git
a/src/core/coreircchannel.cpp
b/src/core/coreircchannel.cpp
index
85eb333
..
02b81b7
100644
(file)
--- a/
src/core/coreircchannel.cpp
+++ b/
src/core/coreircchannel.cpp
@@
-46,6
+46,9
@@
Cipher *CoreIrcChannel::cipher() const {
}
void CoreIrcChannel::setEncrypted(bool e) {
+ if(!Cipher::neededFeaturesAvailable())
+ return;
+
if(e) {
if(topic().isEmpty())
return;