mcabber/src/commands.c
changeset 1592 1802b926e3fa
parent 1588 5411897a1e7b
child 1598 a087125d8fc8
equal deleted inserted replaced
1591:44fef962f572 1592:1802b926e3fa
  3112                  "Please specify a query type (version, time...).");
  3112                  "Please specify a query type (version, time...).");
  3113     free_arg_lst(paramlst);
  3113     free_arg_lst(paramlst);
  3114     return;
  3114     return;
  3115   }
  3115   }
  3116 
  3116 
       
  3117   if (!jb_getonline()) {
       
  3118     scr_LogPrint(LPRINT_NORMAL, "You are not connected.");
       
  3119     free_arg_lst(paramlst);
       
  3120     return;
       
  3121   }
       
  3122 
  3117   // Allow special jid "" or "." (current buddy)
  3123   // Allow special jid "" or "." (current buddy)
  3118   if (fjid && (!*fjid || !strcmp(fjid, ".")))
  3124   if (fjid && (!*fjid || !strcmp(fjid, ".")))
  3119     fjid = NULL;
  3125     fjid = NULL;
  3120 
  3126 
  3121   if (fjid) {
  3127   if (fjid) {