summaryrefslogtreecommitdiff
path: root/src/core/os_session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_session.c')
-rw-r--r--src/core/os_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/os_session.c b/src/core/os_session.c
index cff470e58..5bd5515e2 100644
--- a/src/core/os_session.c
+++ b/src/core/os_session.c
@@ -167,7 +167,7 @@ static int exception_view(User *u, const int index, int *sent_header)
expire_left(u->nc, expirebuf, sizeof(expirebuf), exceptions[index].expires);
- notice_lang(Config.s_OperServ, u, OPER_EXCEPTION_VIEW_FORMAT, index + 1, exceptions[index].mask, !exceptions[index].who.empty() ? exceptions[index].who.c_str() : "<unknown>", timebuf, expirebuf, exceptions[index].limit, exceptions[index].reason);
+ notice_lang(Config.s_OperServ, u, OPER_EXCEPTION_VIEW_FORMAT, index + 1, exceptions[index].mask, exceptions[index].who ? exceptions[index].who : "<unknown>", timebuf, expirebuf, exceptions[index].limit, exceptions[index].reason);
return 1;
}