X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fnetworkconnection.cpp;h=a8b8e1573e2e0900eeda0f4ebe22c50098174e05;hp=4cd776a757a4837a899e027634680d2da8c403aa;hb=dd24b914045d1b38d8ae5347158aa2266166703b;hpb=8f237cecca9a6353bc4d150b4b55719a6bf37476 diff --git a/src/core/networkconnection.cpp b/src/core/networkconnection.cpp index 4cd776a7..a8b8e157 100644 --- a/src/core/networkconnection.cpp +++ b/src/core/networkconnection.cpp @@ -174,16 +174,9 @@ void NetworkConnection::networkInitialized() { } void NetworkConnection::sendPerform() { - // TODO: reimplement perform List! - //// send performlist - //QStringList performList = networkSettings["Perform"].toString().split( "\n" ); - //int count = performList.count(); - //for(int a = 0; a < count; a++) { - // if(!performList[a].isEmpty() ) { - // userInput(network, "", performList[a]); - // } - //} - + foreach(QString line, network()->perform()) { + if(!line.isEmpty()) userInput(Core::bufferInfo(coreSession()->user(), network()->networkId(), BufferInfo::StatusBuffer), line); + } } QVariant NetworkConnection::state() const {