evanchooly/javabot — pull request #28 by amargherio (2013-01-04 19:24:57+00:00)
Title: Editing locked factoids

This pull should fix the ability to edit locked factoids (Issue #27). It's my first commit to a public repo, so if anything is off, I will fix it.

Used an if statement to check the lock status of a factoid. If it is locked, it returns a message letting the sender know that they can't edit this factoid.