X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fcommand.c;h=e45e75af89aa670c05463896016d673d79855aec;hb=70fceb1b71e76e1ff2719988cad63a9113b38641;hp=fafd56b1253d3d2f0f8619d416876f2a8cbc43d5;hpb=fac04af89be5f530d00fb3b2dd7153132557cb45;p=silc.git diff --git a/apps/silcd/command.c b/apps/silcd/command.c index fafd56b1..e45e75af 100644 --- a/apps/silcd/command.c +++ b/apps/silcd/command.c @@ -3424,7 +3424,7 @@ SILC_SERVER_CMD_FUNC(motd) if (server->config && server->config->motd && server->config->motd->motd_file) { /* Send motd */ - motd = silc_file_read(server->config->motd->motd_file, &motd_len); + motd = silc_file_readfile(server->config->motd->motd_file, &motd_len); if (!motd) goto out;