Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Folkinshteyn
e78a754c69 Unix: Use converter to enforce "no spaces" for spell's argument.
Closes: Sf#3064304
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ca56575eb5)
2010-10-10 17:42:26 -04:00
Daniel Folkinshteyn
920c37c314 Unix: add call command, giving owner ability to call any system command. 2010-07-21 12:48:46 -04:00
brian c
edc4d8644e Unix: various enhancements to the ping command:
Fixed bug in 100% packet loss response.
Errors from ping are now sent to irc.error().
Added packet count, interval, ttl, and wait options.
Added additional test cases.

Also, Enabled threading for Unix plugin, and
for wtf, spell, and ping commands.

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-07-13 11:52:51 -04:00
oevna@users.sourceforge.net
6df6d477f1 Unix: fixed uncaught OSError exception raised when executing ping fails.
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-07-09 12:22:32 -04:00
Daniel Folkinshteyn
e178d04522 Unix: fix test for the ping command, call unix ping instead of the default misc ping. 2010-07-08 23:29:01 -04:00
oevna@users.sourceforge.net
a8e91a58a0 Added ping command to Unix plugin
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2010-07-08 23:19:57 -04:00
James Vega
fbdc44ca52 Switch from using the various popen flavors to subprocess.Popen
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-22 14:31:58 -05:00
James Vega
28b4b4742e Correct Unix.fortune.offensive's description to use -a.
Closes deb#545780

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-09-09 07:49:17 -04:00
Jeremy Fincher
de69f9da17 Backed out my previous change. I should know better than to question the all-knowing jamessan. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
bec12b6877 Made jamessan's code agree with his comment (and the maximum integer that can fit into two bytes). 2009-03-11 13:37:25 -04:00
James Vega
699bb15f23 Fix a test failure by limiting random.randrange to [-32768, 32767] 2009-03-11 13:37:25 -04:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
9d99590431 plugins/Unix: Update the tests to reflect the changes in Unix.spell responses. 2005-07-25 12:28:48 +00:00
James Vega
0367ae5615 plugins/Unix: Keep track of two lines in Unix.spell since aspell sometimes list suggestions after a '*' or '+' line. 2005-07-22 13:08:40 +00:00
James Vega
41c7c5f2d2 Add Unix in the new plugin format. 2005-05-10 03:31:54 +00:00