mcabber/src/commands.c
changeset 1365 c7e709719c43
parent 1363 32077249de77
child 1368 23afeb5c555b
--- a/mcabber/src/commands.c	Sun Nov 11 23:13:35 2007 +0100
+++ b/mcabber/src/commands.c	Mon Nov 12 19:27:55 2007 +0100
@@ -363,6 +363,9 @@
   char *xpline;
   cmd *curcmd;
 
+  if (!line)
+    return 0;
+
   // We do alias expansion here
   if (iscmd || scr_get_multimode() != 2)
     xpline = expandalias(line);