]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Provide the InvalidPassword exception
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 17 Aug 2006 13:34:16 +0000 (13:34 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 17 Aug 2006 13:34:16 +0000 (13:34 +0000)
lib/rbot/botuser.rb

index 7daaf66e9cf7d3baf3cb8d003618e67d71ccf6d1..29d7eed54bbd7c93fac3d5d7baab4bbf2aba2fa0 100644 (file)
@@ -160,6 +160,12 @@ module Irc
     end\r
 \r
 \r
+    # This is the error that gets raised when an invalid password is met\r
+    #\r
+    class InvalidPassword < RuntimeError\r
+    end\r
+\r
+\r
     # This is the basic class for bot users: they have a username, a password,\r
     # a list of netmasks to match against, and a list of permissions.\r
     #\r