chat code

This commit is contained in:
Max-Wilhelm Bruker 2009-08-23 03:43:09 +02:00
parent 120193fb0b
commit e6a419aa3d
9 changed files with 51 additions and 9 deletions

View file

@ -37,3 +37,8 @@ void ChatChannel::say(ServerSocket *player, const QString &s)
for (int i = 0; i < size(); ++i)
at(i)->msg(str);
}
QString ChatChannel::getChannelListLine() const
{
return QString("chat|list_channels|%1|%2|%3").arg(name).arg(description).arg(size());
}