projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bugs; better handle oplevels from ircu2.10.12
[srvx.git]
/
src
/
proto-p10.c
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index 937398595277874f71de34931e6e2ab8de40720a..37eb33445040081cdd174fd3bed899005419d21a 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-1076,7
+1076,10
@@
static CMD_FUNC(cmd_burst)
mode |= MODE_CHANOP;
else if (sep == 'v')
mode |= MODE_VOICE;
- else
+ else if (isdigit(sep)) {
+ mode |= MODE_CHANOP;
+ while (isdigit(*end)) end++;
+ } else
break;
}
if (rel_age < 0)