Commit 548b974f authored by Svetlana Tkachenko's avatar Svetlana Tkachenko
Browse files

Make factoids case-sensitive (at least that's consistent; previous behaviour wasn't)

parent ff752ae1
......@@ -145,7 +145,7 @@ class Info(object):
for i in range(0, len(args)):
args[i] = self.badchars.sub("", args[i])
key = " ".join(args).strip(" ").lower()
key = " ".join(args).strip(" ")
if key in self.infodb:
del self.infodb[key]
self.server.doMessage(channel, "Ok, I forgot what " + key + " is.")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment