* Holy war on strlen: use IsEmptyStr where apropriate.
[citadel.git] / citadel / control.c
index 83c1eb086e1f6ad430fd3bd9da2aee19407a9444..77205b10ce8bdcb3d2303abe62f5ab033ea0765d 100644 (file)
@@ -507,7 +507,7 @@ void cmd_conf(char *argbuf)
                         CC->curr_user);
                aide_message(buf,"Citadel Configuration Manager Message");
 
-               if (strlen(config.c_logpages) > 0)
+               if (!IsEmptyStr(config.c_logpages))
                        create_room(config.c_logpages, 3, "", 0, 1, 1, VIEW_BBS);
 
                /* If full text indexing has been disabled, invalidate the