From 4afcbe21c57395f3c243d71110f93febe9acba8c Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sat, 28 Jan 2012 20:44:15 +0100 Subject: [PATCH] Adapt to ObjXMPP API changes --- src/mpdbot.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpdbot.m b/src/mpdbot.m index 8268e44..ac113f5 100644 --- a/src/mpdbot.m +++ b/src/mpdbot.m @@ -44,7 +44,7 @@ OF_APPLICATION_DELEGATE(AppDelegate) OFArray *arguments = [OFApplication arguments]; conn = [[XMPPConnection alloc] init]; - conn.delegate = self; + [conn addDelegate: self]; if (arguments.count != 3) { [of_stdout writeFormat: @"Usage: %@ \n", -- 2.39.5