Better PM

This commit is contained in:
HanzZ 2011-10-25 23:47:56 +02:00
parent 8c529dbabb
commit ca227ccd26

View file

@ -163,7 +163,13 @@ void MyIrcBuffer::on_messageReceived(const QString& origin, const QString& messa
// if (!suffix.empty()) {
// r = receiver().replace('@', '%').toStdString();
// }
np->handleMessage(user, r + suffix, message.toStdString(), origin.toStdString());
if (r.find("#") == 0) {
np->handleMessage(user, r + suffix, message.toStdString(), origin.toStdString());
}
else {
np->handleMessage(user, r + suffix, message.toStdString());
}
}
void MyIrcBuffer::on_noticeReceived(const QString& origin, const QString& notice, Irc::Buffer::MessageFlags flags)