1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 01:16:38 +02:00

Fix another issue with writing channels in db-convert.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1793 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2008-11-25 02:57:45 +00:00
parent 2557d0b091
commit d2e3963d78
+2 -2
View File
@@ -640,7 +640,7 @@ int main(int argc, char *argv[])
READ(read_string(&ci->desc, f));
if (!ci->desc)
ci->desc = strdup("");
std::cout << "Read " << ci->name << " founder " << ci->founder << std::endl;
std::cout << "Read " << ci->name << " founder " << (ci->founder ? ci->founder : "N/A") << std::endl;
READ(read_string(&ci->url, f));
READ(read_string(&ci->email, f));
READ(read_int32(&tmp32, f));
@@ -833,7 +833,7 @@ int main(int argc, char *argv[])
continue;
}*/
fs << "CH " << ci->name << " " << ci->founder << " " << (ci->successor ? ci->successor : " ") << " " << ci->time_registered << " " << ci->last_used << " " << ci->flags << std::endl;
fs << "CH " << ci->name << " " << (ci->founder ? ci->founder : "") << " " << (ci->successor ? ci->successor : " ") << " " << ci->time_registered << " " << ci->last_used << " " << ci->flags << std::endl;
for (j = 0; j < 36; j++)
{