summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarJanik Kleinhoff <janik@kleinhoff.de>2015-09-24 01:52:39 +0000
committerLibravatarJanik Kleinhoff <janik@kleinhoff.de>2015-09-24 01:52:39 +0000
commitce716dd32edf62c4b6d03a6b589f526a0d8ddffb (patch)
tree013427f6e79277c6270a65dc34be0e5e50d474e5
parent9b472795d26cd93d1bb58488ef60a062f5237295 (diff)
Parse cmode +S
We probably should parse ISUPPORT but meh, I'm lazy tonight and this was found already in the wild on the production instance.
-rw-r--r--lib/ASM/Event.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ASM/Event.pm b/lib/ASM/Event.pm
index e6f4c23..6e5dc94 100644
--- a/lib/ASM/Event.pm
+++ b/lib/ASM/Event.pm
@@ -561,12 +561,12 @@ sub parse_modes
if (($c eq '-') || ($c eq '+')) {
$t=$c;
}
- else { #eIbq,k,flj,CFLMPQcgimnprstz
+ else { #eIbq,k,flj,CFLMPQScgimnprstz
if ($t eq '+') {
if ( grep( /[eIbqkfljov]/,($c) ) ) { #modes that take args WHEN BEING ADDED
push (@new_modes, [$t.$c, shift @args]);
}
- elsif ( grep( /[CFLMPQcgimnprstz]/, ($c) ) ) {
+ elsif ( grep( /[CFLMPQScgimnprstz]/, ($c) ) ) {
push (@new_modes, [$t.$c]);
}
else {
@@ -576,7 +576,7 @@ sub parse_modes
if ( grep( /[eIbqov]/,($c) ) ) { #modes that take args WHEN BEING REMOVED
push (@new_modes, [$t.$c, shift @args]);
}
- elsif ( grep( /[CFLMPQcgimnprstzkflj]/, ($c) ) ) {
+ elsif ( grep( /[CFLMPQScgimnprstzkflj]/, ($c) ) ) {
push (@new_modes, [$t.$c]);
}
else {