Modified action() to take take a copy of command rather than a pointer.

It should be safer now that we're not scribbling all over command in
action(), as it's closer to pure. Also fixed a bug in say.
This commit is contained in:
Aaron Traas 2017-07-21 18:22:55 -04:00
parent 30f13c6c25
commit ca5374edc3
4 changed files with 114 additions and 111 deletions

View file

@ -124,19 +124,19 @@ Nothing happens.
> say fee
I don't know how.
OK
> say fie
I don't know how.
OK
> say foe
I don't know how.
OK
> say fum
I don't know how.
Nothing happens.
> in