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

Fixed db-convert to really convert vhosts

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2728 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-01-03 04:36:36 +00:00
parent de824a599a
commit ed568f4750
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ int main(int argc, char *argv[])
HostCore *hc = findHostCore(na->nick);
if (hc)
{
fs << "MD VHOST " << hc->creator << " " << hc->time << " " << hc->vHost << " :" << hc->vIdent << std::endl;
fs << "MD VHOST " << hc->creator << " " << hc->time << " " << hc->vHost << " :" << (hc->vIdent ? hc->vIdent : "") << std::endl;
}
}
}
+1 -1
View File
@@ -786,7 +786,7 @@ void alpha_insert_chan(ChannelInfo * ci)
HostCore *findHostCore(char *nick)
{
for (HostCore *hc = head; head; head = head->next)
for (HostCore *hc = head; hc; hc = hc->next)
{
if (nick && hc->nick && !mystricmp(hc->nick, nick))
return hc;