1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 10:03:13 +02:00

Fixed some warnings found by cppcheck

This commit is contained in:
Adam
2010-12-07 17:01:58 -05:00
parent c5fc11f5fe
commit 2b7dd6c2a0
10 changed files with 23 additions and 9 deletions
@@ -232,7 +232,7 @@ void WriteNick(char *line)
}
}
}
else if (!strcmp(tok, "SO"))
else if (na && !strcmp(tok, "SO"))
{
tok = strtok(NULL, " ");
na->nc->flags |= NI_SERVICES_OPER;
+1
View File
@@ -127,6 +127,7 @@ int mLoadData(void)
free(name);
}
}
fclose(in);
}
return ret;
}