Fix crash if identify_service/identify_command were not specified in ircd.conf.
This commit is contained in:
parent
2498a1b577
commit
b96db1e3fe
|
@ -655,8 +655,8 @@ introduce_client(struct Client *client_p, struct Client *source_p, struct User *
|
|||
|
||||
if(MyConnect(source_p) && source_p->localClient->passwd)
|
||||
{
|
||||
if (ConfigFileEntry.identifyservice[0] != '\0' &&
|
||||
ConfigFileEntry.identifycommand[0] != '\0')
|
||||
if (!EmptyString(ConfigFileEntry.identifyservice) &&
|
||||
!EmptyString(ConfigFileEntry.identifycommand))
|
||||
{
|
||||
/* use user@server */
|
||||
p = strchr(ConfigFileEntry.identifyservice, '@');
|
||||
|
|
Loading…
Reference in New Issue