diff --git a/protocols/purple/PurpleApp.cpp b/protocols/purple/PurpleApp.cpp index 5589ade..b9c0556 100644 --- a/protocols/purple/PurpleApp.cpp +++ b/protocols/purple/PurpleApp.cpp @@ -146,6 +146,8 @@ PurpleApp::MessageReceived(BMessage* msg) BRoster roster; if (roster.IsRunning(APP_SIGNATURE) == false) Quit(); + if (fAccountThreads.CountItems() == 0 || fAccounts.CountItems() == 0) + Quit(); break; } case G_MAIN_LOOP: