]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/mod-snoop.c
cheap changelog msg for prev commit
[irc/evilnet/x3.git] / src / mod-snoop.c
index 05c6a48e991672435f5a436aecea40d9f2c6607a..87f0f36698c79712fb6e125f7e48ea69c5bc1379 100644 (file)
@@ -1,7 +1,7 @@
 /* mod-snoop.c - User surveillance module (per pomac's spec)
  * Copyright 2002-2004 srvx Development Team
  *
- * This file is part of srvx.
+ * This file is part of x3.
  *
  * srvx is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -100,7 +100,7 @@ snoop_new_user(struct userNode *user) {
     if (!snoop_cfg.enabled) return 0;
     if (user->uplink->burst && !snoop_cfg.show_bursts) return 0;
     UPDATE_TIMESTAMP();
-    SNOOP("$bNICK$b %s %s@%s [%s] on %s", user->nick, user->ident, user->hostname, inet_ntoa(user->ip), user->uplink->name);
+    SNOOP("$bNICK$b %s %s@%s (%s) [%s] on %s", user->nick, user->ident, user->hostname, user->handle_info?user->handle_info->handle:"", irc_ntoa(&user->ip), user->uplink->name);
     return 0;
 }