]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_pong.c
Removal of ancient SVN ID's part one
[irc/rqf/shadowircd.git] / modules / m_pong.c
index 3d83249b68f976d44f3c92de9a0b6ab07db4a697..fc8245acdb82f3857de90098f5f5148eb3cb3f06 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_pong.c 3181 2007-02-01 00:49:07Z jilles $
  */
 
 #include "stdinc.h"
@@ -103,7 +102,7 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char *
 {
        if(parc == 2 && !EmptyString(parv[1]))
        {
-               if(ConfigFileEntry.ping_cookie && source_p->user && source_p->name[0])
+               if(ConfigFileEntry.ping_cookie && source_p->flags & FLAGS_SENTUSER && source_p->name[0])
                {
                        unsigned long incoming_ping = strtoul(parv[1], NULL, 16);
                        if(incoming_ping)