]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/spy_motd_notice.c
<clarkson>Now its time to do the NOOZ.</clarkson>
[irc/rqf/shadowircd.git] / extensions / spy_motd_notice.c
index b872f34ba19275b8a3388808973bf24f7cd0ba1e..3a40955f03943e8413a94f2587c52e8d8861e6bd 100644 (file)
@@ -43,5 +43,5 @@ show_motd(hook_data *data)
        sendto_realops_snomask(SNO_SPY, L_ALL,
                             "motd requested by %s (%s@%s) [%s]",
                             data->client->name, data->client->username,
-                            data->client->host, data->client->user->server);
+                            data->client->host, data->client->servptr->name);
 }