diff --git a/doc/config/gib/infobot.gib b/doc/config/gib/infobot.gib index 4a12f67cd..52c3b610f 100644 --- a/doc/config/gib/infobot.gib +++ b/doc/config/gib/infobot.gib @@ -159,8 +159,12 @@ function infobot::forgetFactoid_f { } fact = $(infobot::makeKey $args[3]) if #{facts.$fact} { - delete facts.$fact - infobot::say $args[2], ": I forgot about ", $args[3], "." + if ${facts.${fact}[2]} { + infobot::say $args[2], ": That factoid is locked." + } else { + delete facts.$fact + infobot::say $args[2], ": I forgot about ", $args[3], "." + } } else { infobot::say $args[2], ": I don't know anything about ", $args[3], "." } diff --git a/doc/gib/GIB.lyx b/doc/gib/GIB.lyx index 9ce8b2191..b65c58c1e 100644 --- a/doc/gib/GIB.lyx +++ b/doc/gib/GIB.lyx @@ -1958,7 +1958,7 @@ Figure break \family default and its output, while Figure -\begin_inset LatexCommand \vref{cap:continue} +\begin_inset LatexCommand \ref{cap:continue} \end_inset