diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-irc-messages.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-irc-messages.c b/src/fe-common/irc/fe-irc-messages.c index 316cb793..4b2301c3 100644 --- a/src/fe-common/irc/fe-irc-messages.c +++ b/src/fe-common/irc/fe-irc-messages.c @@ -44,7 +44,7 @@ static const char *skip_target(IRC_SERVER_REC *server, const char *target) const char *val, *chars; /* Quick check */ - if (server->prefix[(int)(unsigned char)*target] == 0) + if (server == NULL || server->prefix[(int)(unsigned char)*target] == 0) return target; /* Hack: for bahamut 1.4 which sends neither STATUSMSG nor |