summaryrefslogtreecommitdiff
path: root/irc/rbot/files/patch-url
blob: af080e725ea6e19ebd51d5b98d6a06b3859536b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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