X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/e26e2b1954c029ad091da75b88f3fa6451b590d6..43946961df9e7703c8877e4bbd9181507422429d:/modules/m_pong.c?ds=sidebyside diff --git a/modules/m_pong.c b/modules/m_pong.c index f1a64cf8..e5fb98e0 100644 --- a/modules/m_pong.c +++ b/modules/m_pong.c @@ -34,7 +34,7 @@ #include "s_conf.h" #include "send.h" #include "channel.h" -#include "irc_string.h" +#include "match.h" #include "msg.h" #include "parse.h" #include "hash.h" @@ -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); @@ -111,8 +111,8 @@ mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char * if(source_p->localClient->random_ping == incoming_ping) { char buf[USERLEN + 1]; - strlcpy(buf, source_p->username, sizeof(buf)); - source_p->flags2 |= FLAGS2_PING_COOKIE; + rb_strlcpy(buf, source_p->username, sizeof(buf)); + source_p->flags |= FLAGS_PING_COOKIE; register_local_user(client_p, source_p, buf); } else