Unix: fix merge of @ping

This commit is contained in:
Valentin Lorentz 2011-02-26 09:50:15 +01:00
parent e35bf94600
commit 2d56eba17e

View File

@ -255,14 +255,10 @@ class Unix(callbacks.Plugin):
irc.error(_('The wtf command is not configured. If it is installed '
'on this system, reconfigure the '
'supybot.plugins.Unix.wtf.command configuration '
<<<<<<< HEAD
'variable appropriately.'))
wtf = wrap(wtf, [optional(('literal', ['is'])), 'something'])
=======
'variable appropriately.')
wtf = thread(wrap(wtf, [optional(('literal', ['is'])), 'something']))
>>>>>>> edc4d86... Unix: various enhancements to the ping command:
@internationalizeDocstring
def ping(self, irc, msg, args, optlist, host):
"""[--c <count>] [--i <interval>] [--t <ttl>] [--W <timeout>] <host or ip>
Sends an ICMP echo request to the specified host.