diff options
author | Test_User <hax@andrewyu.org> | 2024-06-18 03:46:10 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-18 03:46:10 -0400 |
commit | ee14f7485128302bd6d8f858c157e92d06756160 (patch) | |
tree | 2a0a8701232cdcf92b61bee311a41f717fb2edd6 | |
parent | c659e513998394e450bfa39b27adf1fb1347dd99 (diff) | |
download | haxircd-ee14f7485128302bd6d8f858c157e92d06756160.tar.gz haxircd-ee14f7485128302bd6d8f858c157e92d06756160.zip |
`get` help message, fix inspircd v3 pong
Diffstat (limited to '')
-rw-r--r-- | protocols/inspircd3.c | 4 | ||||
-rw-r--r-- | pseudoclients/haxserv.c | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/pseudoclients/haxserv.c b/pseudoclients/haxserv.c index 677a10b..7683d5f 100644 --- a/pseudoclients/haxserv.c +++ b/pseudoclients/haxserv.c @@ -940,7 +940,7 @@ int haxserv_pseudoclient_get_command(struct string from, struct string sender, s } struct command_def haxserv_pseudoclient_get_command_def = { .func = haxserv_pseudoclient_get_command, - .summary = STRING("Resets all connections."), + .summary = STRING("[uid | name | info] <target>"), .aligned_name = STRING("get "), .name = STRING("get"), }; |