mcabber/src/commands.c
changeset 641 62679532ea55
parent 640 1cd7f8e3895b
child 644 68fb0c1dfb15
--- a/mcabber/src/commands.c	Wed Dec 28 18:58:03 2005 +0100
+++ b/mcabber/src/commands.c	Wed Dec 28 19:05:11 2005 +0100
@@ -506,7 +506,7 @@
   }
 
   // Allow things like /status_to "" away
-  if (!*jid)
+  if (!*jid || !strcmp(jid, "."))
     jid = NULL;
 
   if (jid) {
@@ -554,7 +554,7 @@
 
   if (!id)
     nick = NULL; // Allow things like: /add "" nick
-  else if (!*id)
+  else if (!*id || !strcmp(id, "."))
     id = NULL;
 
   if (id) {