diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 48c681c7..c3dff1fc 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -882,7 +882,7 @@ sub interpreter { $action = $self->{factoids}->hash->{$channel}->{$keyword}->{action}; } - if ($action =~ m{^/code\s+([^\s]+)\s+(.+)$}i) { + if ($action =~ m{^/code\s+([^\s]+)\s+(.+)$}msi) { my ($lang, $code) = ($1, $2); if (exists $self->{factoids}->hash->{$channel}->{$keyword}->{usage} and not length $stuff->{arguments}) {