X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/a32da4c70ca85b879f8162469ae37ffeca500b99..0b565f3d116f2ac987e69ef517b16776835afbcf:/src/proto-p10.c diff --git a/src/proto-p10.c b/src/proto-p10.c index c3f17b6..40b03a6 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -1164,7 +1164,10 @@ static CMD_FUNC(cmd_burst) mode |= MODE_HALFOP; 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)