summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-07 17:01:58 -0500
committerAdam <Adam@anope.org>2010-12-07 17:01:58 -0500
commit2b7dd6c2a023186aefe12eaee7d33595379bf4c5 (patch)
tree712274ce279d5a8fc08cd6538fbe2fbbf2f3ad52 /src/modules/extra
parentc5fc11f5fe92b31200dc6cf542514b1ffeb70c44 (diff)
Fixed some warnings found by cppcheck
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/atheme2anope/atheme2anope.c2
1 files changed, 1 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;