From: Giuseppe Bilotta Date: Thu, 17 Aug 2006 13:34:16 +0000 (+0000) Subject: Provide the InvalidPassword exception X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=fc051507843ef3b62d9c5f4eacb809d033390992;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git Provide the InvalidPassword exception --- 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. #