summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
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;