updates.
[silc.git] / apps / silcd / command.c
index fafd56b1253d3d2f0f8619d416876f2a8cbc43d5..e45e75af89aa670c05463896016d673d79855aec 100644 (file)
@@ -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;