projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Jan Krueger <jast@heapsort.de> (by way of Kev <klmitch@mit.edu>)
[ircu2.10.12-pk.git]
/
ircd
/
m_burst.c
diff --git
a/ircd/m_burst.c
b/ircd/m_burst.c
index 1b19a6a02c3857a31e111174299f05eb2e2a0240..649898d22b83e586f28728aab3392ddb74b9f53e 100644
(file)
--- 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));
do {
level_increment = 10 * level_increment + *ptr++ - '0';
} while (IsDigit(*ptr));
+ --ptr;
oplevel += level_increment;
}
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 */
break; /* so stop processing */
+ }
}
}
}
}
}
}