freebsd-ports/irc/rbot/files/patch-url
Pav Lucistnik e96f1d48d6 - Runtime fixes for ruby-1.8
- Raise PORTREVISION

PR:		ports/64782, ports/64789
Submitted by:	David Bushong <david+ports@bushong.net> (maintainer)
2004-03-27 16:04:40 +00:00

11 lines
358 B
Text

--- rbot/plugins/url.rb.orig Thu Mar 25 17:33:36 2004
+++ rbot/plugins/url.rb Wed Aug 21 11:58:41 2002
@@ -42,7 +42,7 @@
else
m.reply "in a private message, you need to specify a channel name for urls"
end
- when (/^(#.*?)\s+\d+$/)
+ when (/^(#.*?)\s+(\d+)$/)
channel = $1
max = $2.to_i
urls m, channel, max