]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/spy_motd_notice.c
Add SHA256/SHA512 support to crypt.c and fix up the MD5 component (it seemed to have...
[irc/rqf/shadowircd.git] / extensions / spy_motd_notice.c
index b872f34ba19275b8a3388808973bf24f7cd0ba1e..eb770708d0e76959ec9c6bba19016f27575f6723 100644 (file)
@@ -19,7 +19,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: spy_motd_notice.c 498 2006-01-15 16:40:33Z jilles $
  */
 #include "stdinc.h"
 #include "modules.h"
@@ -43,5 +42,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);
 }