X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d23bc305d6cd1ce2b3faac52dc02993f33a3153f..af81d5a0b09446188fd6f9c292b51519f2c1cedd:/src/parse.c diff --git a/src/parse.c b/src/parse.c index 7e62240..3b5cd27 100644 --- a/src/parse.c +++ b/src/parse.c @@ -133,7 +133,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend) struct Message *mptr; s_assert(MyConnect(client_p)); - s_assert(client_p->localClient->fd >= 0); + s_assert(client_p->localClient->F->fd >= 0); if(IsAnyDead(client_p)) return; @@ -600,10 +600,10 @@ do_numeric(char numeric[], struct Client *client_p, struct Client *source_p, int int tl; /* current length of presently being built string in t */ for (i = 2; i < (parc - 1); i++) { - tl = ircsprintf(t, " %s", parv[i]); + tl = rb_sprintf(t, " %s", parv[i]); t += tl; } - ircsprintf(t, " :%s", parv[parc - 1]); + rb_sprintf(t, " :%s", parv[parc - 1]); } if((target_p = find_client(parv[1])) != NULL)