#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"
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);
if(source_p->localClient->random_ping == incoming_ping)
{
char buf[USERLEN + 1];
- strlcpy(buf, source_p->username, sizeof(buf));
+ rb_strlcpy(buf, source_p->username, sizeof(buf));
source_p->flags |= FLAGS_PING_COOKIE;
register_local_user(client_p, source_p, buf);
}
}
else
- sendto_one(source_p, form_str(ERR_NOORIGIN), me.name, parv[0]);
+ sendto_one(source_p, form_str(ERR_NOORIGIN), me.name, source_p->name);
source_p->flags &= ~FLAGS_PINGSENT;