diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 916c9bc10..b66ad514c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -2809,6 +2809,8 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve char buffer[MAXBUF]; int MOD_RESULT = 0; + ircd_connector* cn = source->FindHost(tcp_host); + switch(token) { // Y <TS> @@ -2857,6 +2859,8 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve // ? // pong case '!': + if (cn) + cn->ResetPing(); break; // * // no operation |