]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/client.c
Unbreak /stats B.
[irc/rqf/shadowircd.git] / src / client.c
index a34b9e887a3ff76c4eec8489bd2dc47c601abb71..aa2a0e9443f4cf45f2d12bb4d3df7f6c9dc1a878 100644 (file)
@@ -1952,7 +1952,7 @@ allocate_away(struct Client *client_p)
 void
 free_away(struct Client *client_p)
 {
-       if(client_p->user->away != NULL) {
+       if(client_p->user != NULL && client_p->user->away != NULL) {
                rb_bh_free(away_heap, client_p->user->away);
                client_p->user->away = NULL;
        }