diff options
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/extra/atheme2anope/atheme2anope.c | 2 | ||||
| -rw-r--r-- | src/modules/ns_noop_convert.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/extra/atheme2anope/atheme2anope.c b/src/modules/extra/atheme2anope/atheme2anope.c index 49cbc1b1e..c0b4804ce 100644 --- a/src/modules/extra/atheme2anope/atheme2anope.c +++ b/src/modules/extra/atheme2anope/atheme2anope.c @@ -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; diff --git a/src/modules/ns_noop_convert.c b/src/modules/ns_noop_convert.c index 24abd0bb7..50c0d4021 100644 --- a/src/modules/ns_noop_convert.c +++ b/src/modules/ns_noop_convert.c @@ -127,6 +127,7 @@ int mLoadData(void) free(name); } } + fclose(in); } return ret; } |
