From ce716dd32edf62c4b6d03a6b589f526a0d8ddffb Mon Sep 17 00:00:00 2001 From: Janik Kleinhoff Date: Thu, 24 Sep 2015 01:52:39 +0000 Subject: 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. --- lib/ASM/Event.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 { -- cgit v1.2.3