summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-17 13:34:16 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-17 13:34:16 +0000
commitfc051507843ef3b62d9c5f4eacb809d033390992 (patch)
tree86a654d1f22754ee96ddb67af298664afb140158 /lib/rbot
parent91730ddd4bdbbbefbcf7892e5ef6c58eed9f2cb6 (diff)
Provide the InvalidPassword exception
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/botuser.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index 7daaf66e..29d7eed5 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -160,6 +160,12 @@ module Irc
end
+ # This is the error that gets raised when an invalid password is met
+ #
+ class InvalidPassword < RuntimeError
+ end
+
+
# This is the basic class for bot users: they have a username, a password,
# a list of netmasks to match against, and a list of permissions.
#