X-Git-Url: http://cgit.babelmonkeys.de/?p=mpdbot.git;a=blobdiff_plain;f=src%2Fmpdbot.m;h=8268e44b4a74a7799c6f71f40f9800020d65f559;hp=84f864deb653e58f4fa2ef7929dc792d0120cfa8;hb=b2f6230c8f652012852b5b6717d3b18d1c6f2fa4;hpb=158d0939288e8a3abb6bee2fef1697fedeaaaceb diff --git a/src/mpdbot.m b/src/mpdbot.m index 84f864d..8268e44 100644 --- a/src/mpdbot.m +++ b/src/mpdbot.m @@ -61,7 +61,7 @@ OF_APPLICATION_DELEGATE(AppDelegate) [conn connect]; [conn handleConnection]; } @catch (id e) { - of_log(@"%@", e); + [of_stderr writeFormat: @"%@\n", e]; } } @@ -114,17 +114,12 @@ OF_APPLICATION_DELEGATE(AppDelegate) return YES; } } + [of_stderr writeLine: @"Server does NOT support PEP"]; } return NO; } -- (void)connection: (XMPPConnection*)conn - didReceiveMessage: (XMPPMessage*)msg -{ - of_log(@"Message: %@", msg); -} - - (void)connection: (XMPPConnection*)conn didReceivePresence: (XMPPPresence*)pres {