projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9446121
)
common: Don't warn on unknown user in IrcChannel
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 29 Sep 2018 17:47:05 +0000
(19:47 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Mon, 1 Oct 2018 17:06:49 +0000
(19:06 +0200)
When quitting a channel, the IrcChannel instance may still be
receiving pending events for IrcUsers that have already been removed.
Don't log a warning in this case, because it doesn't help and confuses
users.
src/common/ircchannel.cpp
patch
|
blob
|
history
diff --git
a/src/common/ircchannel.cpp
b/src/common/ircchannel.cpp
index
0684c66
..
0932306
100644
(file)
--- a/
src/common/ircchannel.cpp
+++ b/
src/common/ircchannel.cpp
@@
-61,7
+61,7
@@
bool IrcChannel::isKnownUser(IrcUser *ircuser) const
}
if (!_userModes.contains(ircuser)) {
}
if (!_userModes.contains(ircuser)) {
- qWarning() << "Channel" << name() << "received data for unknown User" << ircuser->nick();
+ // This can happen e.g. when disconnecting from a network, so don't log a warning
return false;
}
return false;
}