projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This _should_ fix the bug, that users quitting the network won't be
[quassel.git]
/
src
/
common
/
ircchannel.cpp
diff --git
a/src/common/ircchannel.cpp
b/src/common/ircchannel.cpp
index
c669d1f
..
cff2e75
100644
(file)
--- a/
src/common/ircchannel.cpp
+++ b/
src/common/ircchannel.cpp
@@
-56,7
+56,7
@@
bool IrcChannel::isKnownUser(IrcUser *ircuser) const {
isknown = false;
}
isknown = false;
}
- if(!_userModes.contains(ircuser)
&& ircuser
) {
+ if(!_userModes.contains(ircuser)) {
qWarning() << "Channel" << name() << "received data for unknown User" << ircuser->nick();
isknown = false;
}
qWarning() << "Channel" << name() << "received data for unknown User" << ircuser->nick();
isknown = false;
}
@@
-208,6
+208,7
@@
void IrcChannel::ircUserDestroyed() {
IrcUser *ircUser = static_cast<IrcUser *>(sender());
Q_ASSERT(ircUser);
_userModes.remove(ircUser);
IrcUser *ircUser = static_cast<IrcUser *>(sender());
Q_ASSERT(ircUser);
_userModes.remove(ircUser);
+ emit ircUserParted(ircUser);
}
void IrcChannel::ircUserNickSet(QString nick) {
}
void IrcChannel::ircUserNickSet(QString nick) {