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 in IrcChannel. Upgrade is strongly advised! Distclean as usual.
[quassel.git]
/
src
/
common
/
ircuser.cpp
diff --git
a/src/common/ircuser.cpp
b/src/common/ircuser.cpp
index
704934b
..
99f2ae3
100644
(file)
--- a/
src/common/ircuser.cpp
+++ b/
src/common/ircuser.cpp
@@
-49,7
+49,10
@@
IrcUser::IrcUser(const QString &hostmask, Network *network)
}
IrcUser::~IrcUser() {
- //qDebug() << nick() << "destroyed.";
+ QList<IrcChannel *> channels = _channels.toList();
+ foreach(IrcChannel *channel, channels) {
+ partChannel(channel);
+ }
}
// ====================