mcabber/src/commands.c
changeset 1365 c7e709719c43
parent 1363 32077249de77
child 1368 23afeb5c555b
equal deleted inserted replaced
1364:ff1f6facdc0c 1365:c7e709719c43
   360 int process_command(const char *line, guint iscmd)
   360 int process_command(const char *line, guint iscmd)
   361 {
   361 {
   362   char *p;
   362   char *p;
   363   char *xpline;
   363   char *xpline;
   364   cmd *curcmd;
   364   cmd *curcmd;
       
   365 
       
   366   if (!line)
       
   367     return 0;
   365 
   368 
   366   // We do alias expansion here
   369   // We do alias expansion here
   367   if (iscmd || scr_get_multimode() != 2)
   370   if (iscmd || scr_get_multimode() != 2)
   368     xpline = expandalias(line);
   371     xpline = expandalias(line);
   369   else
   372   else