msgbuf: remove unused field parselen

This commit is contained in:
Simon Arlott 2017-07-26 12:10:17 +01:00
parent fb81421fc7
commit e9f0d740e3
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24
2 changed files with 0 additions and 3 deletions

View file

@ -39,7 +39,6 @@ struct MsgBuf {
const char *target; /* the target of the message (either NULL, or custom defined) */
const char *cmd; /* the cmd/verb of the message (either NULL, or para[0]) */
size_t parselen; /* the length of the message */
size_t n_para; /* the number of parameters (always at least 1 if a full message) */
const char *para[MAXPARA]; /* parameters vector (starting with cmd as para[0]) */
};

View file

@ -144,8 +144,6 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
ServerStats.is_unco++;
return;
}
mptr->bytes += msgbuf.parselen;
}
if(mptr == NULL)