Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Jemlich <pcgod@users.sourceforge.net>2010-01-10 23:04:09 +0300
committerBenjamin Jemlich <pcgod@users.sourceforge.net>2010-01-11 01:37:54 +0300
commitcf33de48419b9a8b7d5092d9496d6bd0cc0d9055 (patch)
tree06f9f39c4fc46103684fb1e6b9fc1d454ace984e /src/mumble/ACLEditor.cpp
parent170fd04e77210ced5715231d2f5f11e18ea26e41 (diff)
Move assembly of some protobuf messages to ServerHandler
Diffstat (limited to 'src/mumble/ACLEditor.cpp')
-rw-r--r--src/mumble/ACLEditor.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mumble/ACLEditor.cpp b/src/mumble/ACLEditor.cpp
index 17a153730..cc61b997e 100644
--- a/src/mumble/ACLEditor.cpp
+++ b/src/mumble/ACLEditor.cpp
@@ -252,13 +252,7 @@ void ACLEditor::accept() {
}
// Update channel state
if (bAddChannelMode) {
- MumbleProto::ChannelState mpcs;
- mpcs.set_name(u8(qleChannelName->text()));
- mpcs.set_description(u8(rteChannelDescription->text()));
- mpcs.set_parent(iChannel);
- mpcs.set_position(qsbChannelPosition->value());
- mpcs.set_temporary(qcbChannelTemporary->isChecked());
- g.sh->sendMessage(mpcs);
+ g.sh->createChannel(iChannel, qleChannelName->text(), rteChannelDescription->text(), qsbChannelPosition->value(), qcbChannelTemporary->isChecked());
} else {
bool b = false;