| 1 | --[[ |
| 2 | Copyright (C) 2014 HarpyWar ([email protected]) |
| 3 | |
| 4 | This file is a part of the PvPGN Project http://pvpgn.pro |
| 5 | Licensed under the same terms as Lua itself. |
| 6 | ]]-- |
| 7 | |
| 8 | |
| 9 | function command_ping(account, text) |
| 10 | -- allow warcraft 3 client only |
| 11 | if (account.clienttag == CLIENTTAG_WAR3XP) and (config.ghost) then |
| 12 | return gh_command_ping(account, text) |
| 13 | end |
| 14 | |
| 15 | return 1 |
| 16 | end |