X-Git-Url: http://cgit.babelmonkeys.de/?p=mpdbot.git;a=blobdiff_plain;f=src%2Fmpdbot.m;h=ac113f57783e6dec97e17f726129c0201392fb74;hp=8268e44b4a74a7799c6f71f40f9800020d65f559;hb=4afcbe21c57395f3c243d71110f93febe9acba8c;hpb=21fb550444714d193e83f5255956710aca5e13ef 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",