stop it from crashing pretty much instantly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4415 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-06-29 21:29:56 +00:00
parent 8db6963fc4
commit 609f6b423c
1 changed files with 1 additions and 1 deletions

View File

@ -3046,7 +3046,7 @@ void JCL_ToJID(jclient_t *jcl, char *in, char *out, int outsize)
}
}
if (!strchr(in, '@'))
if (!strchr(in, '@') && jcl)
{
//no @? probably its an alias, but could also be a server/domain perhaps. not sure we care. you'll just have to rename your friend.
//check to see if we can find a friend going by that name