]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
New Irc Framework: fix default channel modes prefixes for users
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 14 Feb 2007 09:41:44 +0000 (09:41 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 14 Feb 2007 09:41:44 +0000 (09:41 +0000)
lib/rbot/irc.rb

index a4bd725ab22e41ff8142f4da9324458accfad42e..1b472016cbf5a87107e861dba6398b1ae769561e 100644 (file)
@@ -1342,8 +1342,8 @@ module Irc
         :network => nil,\r
         :nicklen => 9,\r
         :prefix => {\r
-          :modes => 'ov'.scan(/./),\r
-          :prefixes => '@+'.scan(/./)\r
+          :modes => [:o, :v],\r
+          :prefixes => [:"@", :+],\r
         },\r
         :safelist => nil,\r
         :statusmsg => nil,\r