diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hostserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostserv.c b/src/hostserv.c index 60cbec841..314e8f4e2 100644 --- a/src/hostserv.c +++ b/src/hostserv.c @@ -405,7 +405,7 @@ void load_hs_dbase(dbFILE * f) SAFE(read_int32(&time, f)); // Older Anope could save an empty vident when importing from MySQL, so trap that here. - if (!strcmp(vIdent, "")) + if (vIdent && !strcmp(vIdent, "")) { delete [] vIdent; vIdent = NULL; |