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:
@@ -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;
|
||||
|
||||
@@ -127,6 +127,7 @@ int mLoadData(void)
|
||||
free(name);
|
||||
}
|
||||
}
|
||||
fclose(in);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user