public
Description: An extensible bot for the Campfire web-based chat system #crc
Homepage:
Clone URL: git://github.com/timriley/campfire-bot.git
fixes to the figlet command to allow dashes to be used at the start of the 
string to figletise
timriley (author)
Wed Oct 22 03:03:50 -0700 2008
commit  f202b296063058c3e74dffa30daeba47ea42e02d
tree    a616b5d673c362b4ded7a0643216923fce87cc91
parent  eb6edef68d91aa8ea628f43a1aa6228f1148010d
...
4
5
6
7
 
8
9
10
11
...
4
5
6
 
7
8
9
10
11
0
@@ -4,7 +4,7 @@ class Fun < PluginBase
0
   on_command    'figlet', :figlet
0
   
0
   def figlet(m)
0
-    output = `#{Escape.shell_command(["figlet", m[:message]])}`
0
+    output = `#{Escape.shell_command(['figlet', '--', m[:message]])}`
0
     paste output
0
   end
0
 end
0
\ No newline at end of file

Comments