summaryrefslogtreecommitdiff
path: root/src/tools/db-convert.h
diff options
context:
space:
mode:
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;