summaryrefslogtreecommitdiff
path: root/src/tools/db-convert.h
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-03 04:36:36 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-03 04:36:36 +0000
commited568f4750f41b367e2d74406cb76f67edb83bbf (patch)
tree52737a2ed7c05e1893c2b4a9fd98da8300617f2f /src/tools/db-convert.h
parentde824a599ab162324e4e24c88945ba874dbf1ed9 (diff)
Fixed db-convert to really convert vhosts
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2728 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/tools/db-convert.h')
-rw-r--r--src/tools/db-convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/db-convert.h b/src/tools/db-convert.h
index 1ebeec9f4..914202d3a 100644
--- a/src/tools/db-convert.h
+++ b/src/tools/db-convert.h
@@ -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;