diff options
| author | 2015-09-24 01:52:39 +0000 | |
|---|---|---|
| committer | 2015-09-24 01:52:39 +0000 | |
| commit | ce716dd32edf62c4b6d03a6b589f526a0d8ddffb (patch) | |
| tree | 013427f6e79277c6270a65dc34be0e5e50d474e5 | |
| parent | 9b472795d26cd93d1bb58488ef60a062f5237295 (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.pm | 6 |
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 { |
