diff options
Diffstat (limited to 'Swiften/Component/ComponentSessionStanzaChannel.cpp')
| -rw-r--r-- | Swiften/Component/ComponentSessionStanzaChannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Component/ComponentSessionStanzaChannel.cpp b/Swiften/Component/ComponentSessionStanzaChannel.cpp index e4bf231..deac8b2 100644 --- a/Swiften/Component/ComponentSessionStanzaChannel.cpp +++ b/Swiften/Component/ComponentSessionStanzaChannel.cpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 2010-2017 Isode Limited. + * Copyright (c) 2010-2019 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include <Swiften/Component/ComponentSessionStanzaChannel.h> @@ -44,13 +44,13 @@ void ComponentSessionStanzaChannel::sendPresence(std::shared_ptr<Presence> prese std::string ComponentSessionStanzaChannel::getNewIQID() { return idGenerator.generateID(); } void ComponentSessionStanzaChannel::send(std::shared_ptr<Stanza> stanza) { if (!isAvailable()) { - SWIFT_LOG(warning) << "Component: Trying to send a stanza while disconnected." << std::endl; + SWIFT_LOG(warning) << "Component: Trying to send a stanza while disconnected."; return; } session->sendStanza(stanza); } void ComponentSessionStanzaChannel::handleSessionFinished(std::shared_ptr<Error>) { |
Swift