aboutsummaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/inspircd3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/inspircd3.c b/protocols/inspircd3.c
index 864b0d1..5811bb6 100644
--- a/protocols/inspircd3.c
+++ b/protocols/inspircd3.c
@@ -1140,9 +1140,9 @@ int inspircd3_protocol_handle_ping(struct string source, size_t argc, struct str
return 0;
networks[net].send(handle, STRING(":"));
- networks[net].send(handle, argv[1]);
- networks[net].send(handle, STRING(" PONG :"));
networks[net].send(handle, argv[0]);
+ networks[net].send(handle, STRING(" PONG :"));
+ networks[net].send(handle, source);
networks[net].send(handle, STRING("\n"));
return 0;