mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-04 01:12:24 +01:00
- send: remove leftover numeric rewriting stuff
This commit is contained in:
parent
bc2d0937f5
commit
41d5f93171
1 changed files with 0 additions and 22 deletions
22
src/send.c
22
src/send.c
|
@ -634,18 +634,8 @@ void sendto_serv_butone_token(aClient *one, char *prefix, char *command,
|
|||
aClient *acptr;
|
||||
|
||||
static char buff[2048];
|
||||
static char pref[100];
|
||||
va_start(vl, pattern);
|
||||
|
||||
pref[0] = '\0';
|
||||
if (strchr(prefix, '.'))
|
||||
{
|
||||
acptr = (aClient *) find_server_quick(prefix);
|
||||
if (acptr->serv->numeric)
|
||||
{
|
||||
strcpy(pref, base64enc(acptr->serv->numeric));
|
||||
}
|
||||
}
|
||||
strcpy(tcmd, token);
|
||||
strcpy(ccmd, command);
|
||||
strcat(tcmd, " ");
|
||||
|
@ -692,21 +682,9 @@ void sendto_serv_butone_token_opt(aClient *one, int opt, char *prefix, char *com
|
|||
static char tcmd[2048];
|
||||
static char ccmd[2048];
|
||||
static char buff[2048];
|
||||
static char pref[100];
|
||||
|
||||
va_start(vl, pattern);
|
||||
|
||||
pref[0] = '\0';
|
||||
if (strchr(prefix, '.'))
|
||||
{
|
||||
acptr = (aClient *) find_server_quick(prefix);
|
||||
if (acptr && acptr->serv)
|
||||
if (acptr->serv->numeric)
|
||||
{
|
||||
strcpy(pref, base64enc(acptr->serv->numeric));
|
||||
}
|
||||
}
|
||||
|
||||
strcpy(tcmd, token);
|
||||
strcpy(ccmd, command);
|
||||
strcat(tcmd, " ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue