summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-03-20 19:22:52 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-03-20 19:22:52 (GMT)
commit8680839b69f431d293c17863e56db8963e4ade74 (patch)
tree49ade7f0f073b76c8e009af711e954acab1b741f /Limber/main.cpp
parent3d6694b0c698fff63d11f8bb4aa995c1df882315 (diff)
downloadswift-contrib-8680839b69f431d293c17863e56db8963e4ade74.zip
swift-contrib-8680839b69f431d293c17863e56db8963e4ade74.tar.bz2
Fix for the previous patch.
Diffstat (limited to 'Limber/main.cpp')
-rw-r--r--Limber/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Limber/main.cpp b/Limber/main.cpp
index 3db3092..3809729 100644
--- a/Limber/main.cpp
+++ b/Limber/main.cpp
@@ -61,7 +61,7 @@ class Server {
if (!stanza->getTo().isValid() || stanza->getTo() == session->getLocalJID() || stanza->getTo() == session->getRemoteJID().toBare()) {
if (boost::shared_ptr<IQ> iq = boost::dynamic_pointer_cast<IQ>(stanza)) {
if (iq->getPayload<RosterPayload>()) {
- session->sendElement(IQ::createResult(iq->getFrom(), iq->getID(), boost::make_shared<RosterPayload>())));
+ session->sendElement(IQ::createResult(iq->getFrom(), iq->getID(), boost::make_shared<RosterPayload>()));
}
if (iq->getPayload<VCard>()) {
if (iq->getType() == IQ::Get) {