From fc051507843ef3b62d9c5f4eacb809d033390992 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 17 Aug 2006 13:34:16 +0000 Subject: Provide the InvalidPassword exception --- lib/rbot/botuser.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') 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. # -- cgit v1.2.3