diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-11-25 17:53:57 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-11-25 17:53:57 +0100 |
commit | a95675a1961cb5c205ba997c9f0599f453b19d4a (patch) | |
tree | e82726c7c5eb75a9f14079aad5119c3a6695fab4 /lib/rbot | |
parent | d39aeaf236b8d2865df642b6f8a1070a4a41acf2 (diff) |
rss: watch handle case during rename
We allow rss handles to be of any case on creation, even though matching
is case-insentivie. However, when renaming an rss using 'rss change
handle' and only changing the case, two things prevented this from
working correctly:
* since the new downcased handle was equal to the old downcased handle,
the bot would prevent the renaming due to the existence of the new
handle
* the new handle was forcefully downcased, preventing the user
from renaming handle 'case' to 'CaSe'.
Fix by checking for this case explicitly, and handling it separately.
Diffstat (limited to 'lib/rbot')
0 files changed, 0 insertions, 0 deletions