]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/parse.c
Remove silly a2client_p, entirely pointless since User.server removal.
[irc/rqf/shadowircd.git] / src / parse.c
index 38e0d30dca0730dfafd7a1cd4a30835ea1f35410..7e3ebecc7ffe97972450d66e2520c2cef86ea15f 100644 (file)
@@ -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;
 
@@ -658,9 +658,9 @@ do_numeric(char numeric[], struct Client *client_p, struct Client *source_p, int
                return;
        }
        else if((chptr = find_channel(parv[1])) != NULL)
-               sendto_channel_local(ALL_MEMBERS, chptr,
-                                    ":%s %s %s %s",
-                                    source_p->name, numeric, chptr->chname, buffer);
+               sendto_channel_flags(client_p, ALL_MEMBERS, source_p, chptr,
+                                    "%s %s%s",
+                                    numeric, chptr->chname, buffer);
 }
 
 static void do_alias(struct alias_entry *aptr, struct Client *source_p, char *text)