]> jfr.im git - solanum.git/blobdiff - modules/m_pong.c
Replace RPL_WHOISTEXT(337) with RPL_WHOISSPECIAL(320) (#419)
[solanum.git] / modules / m_pong.c
index a727fcf5ccd577cb1d83e1a1c5c3ec1a00071bea..a56ab7e522faa4e8b609d1ab7fdba0e8abbe99b7 100644 (file)
@@ -87,7 +87,7 @@ ms_pong(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
        if(IsServer(source_p) && !HasSentEob(source_p))
        {
                if(MyConnect(source_p))
-                       sendto_realops_snomask(SNO_GENERAL, L_ALL,
+                       sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                             "End of burst (emulated) from %s (%d seconds)",
                                             source_p->name,
                                             (signed int) (rb_current_time() - source_p->localClient->firsttime));
@@ -104,7 +104,7 @@ mr_pong(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_
        {
                if(ConfigFileEntry.ping_cookie && source_p->flags & FLAGS_SENTUSER && source_p->name[0])
                {
-                       unsigned long incoming_ping = strtoul(parv[1], NULL, 16);
+                       uint32_t incoming_ping = strtoul(parv[1], NULL, 16);
                        if(incoming_ping)
                        {
                                if(source_p->localClient->random_ping == incoming_ping)