X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;ds=sidebyside;f=ircd%2Fm_burst.c;h=649898d22b83e586f28728aab3392ddb74b9f53e;hb=ebff73ec9b40bba463e7f2bacb92b5c7110969e2;hp=1b19a6a02c3857a31e111174299f05eb2e2a0240;hpb=6606615f1c605c9000f5f0f217a9495a2c4270c3;p=ircu2.10.12-pk.git diff --git a/ircd/m_burst.c b/ircd/m_burst.c index 1b19a6a..649898d 100644 --- a/ircd/m_burst.c +++ b/ircd/m_burst.c @@ -507,10 +507,13 @@ int ms_burst(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) do { level_increment = 10 * level_increment + *ptr++ - '0'; } while (IsDigit(*ptr)); + --ptr; oplevel += level_increment; } - else /* I don't recognize that flag */ + else { /* I don't recognize that flag */ + protocol_violation(sptr, "Invalid flag '%c' in nick part of burst", *ptr); break; /* so stop processing */ + } } } }