comparison mcabber/src/commands.c @ 1365:c7e709719c43

Small code cleanup
author Mikael Berthe <mikael@lilotux.net>
date Mon, 12 Nov 2007 19:27:55 +0100
parents 32077249de77
children 23afeb5c555b
comparison
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