diff --git a/Server.cpp b/Server.cpp index 875dbc9e4..d14725a3b 100644 --- a/Server.cpp +++ b/Server.cpp @@ -569,6 +569,11 @@ void MessageChannelAdd::process(Connection *cCon) { } Channel *c = ServerDB::addChannel(p, qsName); + if (sPlayerId >= 0) { + Group *g = new Group(c, "admin"); + g->qsAdd << sPlayerId; + } + ServerDB::updateChannel(c); iId = c->iId; g_sServer->sendAll(this);