X-Git-Url: http://git.pk910.de/?p=srvx.git;a=blobdiff_plain;f=src%2Fproto-p10.c;h=37eb33445040081cdd174fd3bed899005419d21a;hp=937398595277874f71de34931e6e2ab8de40720a;hb=35ffb2ad774fac945c200d06a30174fe676d94bb;hpb=47311a53d46d39b96842b2da83eb03caf089d9da diff --git a/src/proto-p10.c b/src/proto-p10.c index 9373985..37eb334 100644 --- 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)