From 609f6b423cf4564147cfa0ed492a7d808c87f27e Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 29 Jun 2013 21:29:56 +0000 Subject: [PATCH] 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 --- plugins/jabber/jabberclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jabber/jabberclient.c b/plugins/jabber/jabberclient.c index dfc3cf0e9..75625a45f 100644 --- a/plugins/jabber/jabberclient.c +++ b/plugins/jabber/jabberclient.c @@ -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