]> cgit.babelmonkeys.de Git - mpdbot.git/commitdiff
Adapt to ObjXMPP API changes
authorFlorian Zeitz <florob@babelmonkeys.de>
Sat, 28 Jan 2012 19:44:15 +0000 (20:44 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Sat, 28 Jan 2012 19:44:15 +0000 (20:44 +0100)
src/mpdbot.m

index 8268e44b4a74a7799c6f71f40f9800020d65f559..ac113f57783e6dec97e17f726129c0201392fb74 100644 (file)
@@ -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: %@ <server> <user> <passwd>\n",