diff -ur MKbot-0.2/plugins/tells/helpers.cpp MKbot-0.3/plugins/tells/helpers.cpp --- MKbot-0.2/plugins/tells/helpers.cpp 2006-02-18 02:38:12.000000000 +0000 +++ MKbot-0.3/plugins/tells/helpers.cpp 2006-02-22 16:41:26.432181118 +0000 @@ -25,10 +25,9 @@ << "Messages" << "----"; - QList::iterator i; - for (i = tells->begin(); i != tells->end(); ++i ) + for (unsigned int i = 0; i < tells->count(); i++) { - tellInfo message = *i; + tellInfo message = tells->at(i); if ( message[TellTo].toLower() != from.toLower() ) continue; output << QString("> Message from %1 at %2:\n").arg(message[TellFrom]).arg(message[TellTime]);