From 8680839b69f431d293c17863e56db8963e4ade74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Tue, 20 Mar 2012 20:22:52 +0100
Subject: Fix for the previous patch.


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) {
-- 
cgit v0.10.2-6-g49f6