summaryrefslogtreecommitdiff
path: root/src/admin/ladmin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/admin/ladmin.cpp')
-rw-r--r--src/admin/ladmin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/admin/ladmin.cpp b/src/admin/ladmin.cpp
index 69fc074..bab5a7c 100644
--- a/src/admin/ladmin.cpp
+++ b/src/admin/ladmin.cpp
@@ -2865,7 +2865,7 @@ bool admin_confs(XString w1, ZString w2)
if (w1 == "login_ip"_s)
{
struct hostent *h = gethostbyname(w2.c_str());
- if (h != NULL)
+ if (h != nullptr)
{
Iprintf("Login server IP address: %s -> %s\n"_fmt,
w2, login_ip);