X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/1fdc0e3770308d677733ed18cbbc40841c8621d0..b142c320fa2abb0fc728a12028c874a7d1b0dd78:/bti.c diff --git a/bti.c b/bti.c index 1f1279e..8447a9d 100644 --- a/bti.c +++ b/bti.c @@ -1127,6 +1127,11 @@ int main(int argc, char *argv[], char *envp[]) goto exit; } + if (!session->host) { + fprintf(stderr, "You need to provide a host either in ~/.bti or with --host.\n"); + goto exit; + } + if (session->host == HOST_TWITTER && session->action == ACTION_GROUP) { fprintf(stderr, "Groups only work in Identi.ca.\n"); goto exit;