Bug 9244 - Не экранирует nick в регулярных выражениях
Summary: Не экранирует nick в регулярных выражениях
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rbot (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-14 21:14 MSK by Nick S. Grechukh
Modified: 2006-03-15 01:32 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick S. Grechukh 2006-03-14 21:14:15 MSK
/usr/bin/rbot
no /root/.rbot directory found, creating from templates..
First time rbot configuration wizard
====================================
This is the first time you have run rbot with a config directory of:
/root/.rbot
This wizard will ask you a few questions to get you started.
The rest of rbot's configuration can be manipulated via IRC once
rbot is connected and you are auth'd.
-----------------------------------
Your password for maxing your auth with the bot (used to associate new hostmasks
with your owner-status etc)
auth.password [rbotauth]:
configured auth.password => rbotauth
-----------------------------------
Which language file the bot should use [valid values are: english, dutch,
french, german]
core.language [english]:
configured core.language => english
-----------------------------------
What server should the bot connect to?
server.name [localhost]: irc.freenode.net
configured server.name => irc.freenode.net
-----------------------------------
What port should the bot connect to?
server.port [6667]:
configured server.port => 6667
-----------------------------------
Password for connecting to this server (if required)
server.password [false]:
configured server.password => false
-----------------------------------
Specific local host or IP for the bot to bind to (if required)
server.bindhost [false]:
configured server.bindhost => false
-----------------------------------
IRC nickname the bot should attempt to use
irc.nick [rbot]: [gns-bot]
configured irc.nick => [gns-bot]
-----------------------------------
local user the bot should appear to be
irc.user [rbot]:
configured irc.user => rbot
-----------------------------------
What channels the bot should always join at startup. List multiple channels
using commas to separate. If a channel requires a password, use a space after
the channel name. e.g: '#chan1, #chan2, #secretchan secritpass, #chan3'
irc.join_channels []: #altlinux
configured irc.join_channels => #altlinux
-----------------------------------
auto importing old keywords.rbot
unexpected exception: connection closed: invalid regular expression:
/^\s*[gns-bot]\s*([:;,>]|\s)\s*/
/usr/share/ruby/vendor_ruby/1.8/rbot/message.rb:140:in `initialize'
/usr/share/ruby/vendor_ruby/1.8/rbot/ircbot.rb:168:in `initialize'
/usr/share/ruby/vendor_ruby/1.8/rbot/rfc2812.rb:1100:in `handle'
/usr/share/ruby/vendor_ruby/1.8/rbot/rfc2812.rb:1083:in `process'
/usr/share/ruby/vendor_ruby/1.8/rbot/ircbot.rb:330:in `mainloop'
/usr/bin/rbot:79
Comment 1 Sir Raorn 2006-03-15 01:32:00 MSK
На самом деле хватило бы и нескольких строчек после "unexpected exception" ;-)

Fixed in alt3