X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fircchannel.cpp;h=5c12171a5372c32e11f9384fa9cefdc4cd927d86;hb=d1b6499b0b848d4287efae89107576548533502c;hp=1e567b5c70fe94672ad8de68c9cdfa75f8fa3a3e;hpb=f37791b92e3bf6e78b93036c0669926eeba3347b;p=quassel.git diff --git a/src/common/ircchannel.cpp b/src/common/ircchannel.cpp index 1e567b5c..5c12171a 100644 --- a/src/common/ircchannel.cpp +++ b/src/common/ircchannel.cpp @@ -73,10 +73,6 @@ bool IrcChannel::isValidChannelUserMode(const QString &mode) const { return isvalid; } -bool IrcChannel::initialized() const { - return _initialized; -} - QString IrcChannel::name() const { return _name; } @@ -169,7 +165,7 @@ void IrcChannel::part(IrcUser *ircuser) { // if you wonder why there is no counterpart to ircUserParted: // the joines are propagted by the ircuser. the signal ircUserParted is only for convenience emit ircUserParted(ircuser); - if(network->isMyNick(ircuser)) + if(network->isMe(ircuser)) deleteLater(); } } @@ -258,8 +254,3 @@ void IrcChannel::ircUserNickSet(QString nick) { emit ircUserNickSet(ircUser, nick); } -void IrcChannel::setInitialized() { - _initialized = true; - emit initDone(); -} -