summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-03 21:44:11 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-03 21:44:11 +0000
commit849fa917b05c28e98bc7bc678879c55ed1a95969 (patch)
tree07d77e1fa202f0284f3394f617f17398e2e04a95 /lib
parentf5c585fde71d43bde9e0d05e90eff482800b246a (diff)
New Auth Framework: TypeError, not TypError
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/botuser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index 9f2620dc..de77093a 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -270,7 +270,7 @@ class Bot
# Make the BotUser permanent
def make_permanent(name)
- raise TypError, "permanent already" if permanent?
+ raise TypeError, "permanent already" if permanent?
@username = BotUser.sanitize_username(name)
@transient = false
reset_autologin