projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a bug where disconnecting from a net might make it impossible to reconnect...
[quassel.git]
/
src
/
common
/
network.cpp
diff --git
a/src/common/network.cpp
b/src/common/network.cpp
index
e83f56e
..
cfcda7d
100644
(file)
--- a/
src/common/network.cpp
+++ b/
src/common/network.cpp
@@
-406,8
+406,9
@@
void Network::setConnected(bool connected) {
_connected = connected;
if(!connected) {
-
removeChansAndUsers(
);
+
setMyNick(QString()
);
setCurrentServer(QString());
+ removeChansAndUsers();
}
emit connectedSet(connected);
}