3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 22:09:26 +01:00

Minor refactor of title case of adlib modifier

This commit is contained in:
Pragmatic Software 2015-09-14 10:29:28 -07:00
parent 739c28125b
commit b5c5162ad0

View File

@ -387,8 +387,7 @@ sub expand_factoid_vars {
$mylist[$line] = ucfirst $mylist[$line]; $mylist[$line] = ucfirst $mylist[$line];
} }
when ('title') { when ('title') {
$mylist[$line] = lc $mylist[$line]; $mylist[$line] = ucfirst lc $mylist[$line];
$mylist[$line] = ucfirst $mylist[$line];
} }
} }
} }