mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
Fix crash if identify_service/identify_command were not specified in ircd.conf.
This commit is contained in:
parent
406478d224
commit
0a01ecfa85
1 changed files with 2 additions and 2 deletions
|
@ -654,8 +654,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 a new issue