]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_pong.c
m_pass.c fix
[irc/rqf/shadowircd.git] / modules / m_pong.c
index f1a64cf81ae7ea7cddd9047d031633282481cc35..82ce37c4d81a13dcd6fcfd4aa4cff7980a327361 100644 (file)
@@ -89,7 +89,7 @@ ms_pong(struct Client *client_p, struct Client *source_p, int parc, const char *
                        sendto_realops_snomask(SNO_GENERAL, L_ALL,
                                             "End of burst (emulated) from %s (%d seconds)",
                                             source_p->name,
-                                            (signed int) (CurrentTime - source_p->localClient->firsttime));
+                                            (signed int) (rb_current_time() - source_p->localClient->firsttime));
                SetEob(source_p);
                eob_count++;
                call_hook(h_server_eob, source_p);
@@ -112,7 +112,7 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char *
                                {
                                        char buf[USERLEN + 1];
                                        strlcpy(buf, source_p->username, sizeof(buf));
-                                       source_p->flags2 |= FLAGS2_PING_COOKIE;
+                                       source_p->flags |= FLAGS_PING_COOKIE;
                                        register_local_user(client_p, source_p, buf);
                                }
                                else