1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/irc/rbot/files/patch-dice-roll
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

19 lines
653 B
Plaintext

--- rbot/plugins/dice.rb.orig Thu Mar 25 17:33:36 2004
+++ rbot/plugins/dice.rb Mon Aug 5 14:58:04 2002
@@ -30,7 +30,7 @@
class DicePlugin < Plugin
def help(plugin, topic="")
- "dice <string> (where <string> is something like: d6 or 2d6 or 2d6+4 or 2d6+1d20 or 2d6+1d5+4d7-3d4-6) => Rolls that set of virtual dice"
+ "#{plugin} <string> (where <string> is something like: d6 or 2d6 or 2d6+4 or 2d6+1d20 or 2d6+1d5+4d7-3d4-6) => Rolls that set of virtual dice"
end
def rolldice(d)
@@ -77,5 +77,6 @@
end
plugin = DicePlugin.new
plugin.register("dice")
+plugin.register("roll")
##############################################
#fin