Bram Matthys
8603c2eb71
Update hunt_server() so command is really the command (eg "LUSERS") and
...
not a format string (eg ":%s LUSERS %s"). It now simply concats all parv[]'s.
That is, up to parc count. And it automatically does the :stuff for the
last parameter if it contains spaces or starts with a : etc.
This gets rid of a bit sketchy code with an arbitrary maximum etc.
Now it's just:
if (hunt_server(client, NULL, "REHASH", 1, parc, parv) != HUNTED_ISME)
return;
This has one side effect, though:
Previously we used the format string, so it may be possible for S2S
traffic to now have more arguments then before here and there.
Eg:
* It could be that the caller was using a format string to
intentionally cut off an extra parameter at the end.
You can still do that if you call with eg parc-1 instead of parc.
I don't think there were any such cases though, but hard to rule out.
* Extranous parameters may show up in S2S traffic where it was
previously unexpected.
2021-09-25 14:49:19 +02:00
..
2021-09-25 09:04:19 +02:00
2021-09-25 11:02:39 +02:00
2021-09-11 10:26:18 +02:00
2021-09-23 19:31:28 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 08:17:12 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-25 14:49:19 +02:00
2021-09-10 14:13:07 +02:00
2021-09-11 07:53:30 +02:00
2021-09-11 17:43:15 +02:00
2021-09-13 18:44:18 +02:00
2021-09-11 08:17:12 +02:00
2021-09-22 15:49:20 +02:00
2021-09-11 08:17:12 +02:00
2021-09-25 14:49:19 +02:00
2021-09-11 07:53:30 +02:00
2021-09-11 07:53:30 +02:00
2021-09-11 16:02:44 +02:00
2021-09-22 09:42:42 +02:00
2021-09-11 16:02:44 +02:00
2021-09-13 18:44:18 +02:00
2021-09-11 16:02:44 +02:00
2021-08-10 17:39:52 +02:00
2021-08-18 09:54:43 +02:00
2021-09-25 11:23:14 +02:00
2021-08-11 20:47:18 +02:00
2021-09-25 14:49:19 +02:00
2021-08-26 18:12:56 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 16:02:44 +02:00
2021-09-24 10:10:27 +02:00
2021-09-20 18:32:32 +02:00
2021-08-10 14:37:10 +02:00
2021-09-10 20:36:38 +02:00
2021-09-13 18:44:18 +02:00
2021-09-11 07:53:30 +02:00
2021-09-10 14:09:22 +02:00
2021-09-10 14:09:22 +02:00
2021-09-10 14:09:22 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-10 14:13:07 +02:00
2021-09-11 10:21:54 +02:00
2021-09-11 08:17:12 +02:00
2021-08-10 14:37:10 +02:00
2021-09-24 09:41:21 +02:00
2021-09-25 08:00:57 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 16:02:44 +02:00
2021-09-24 16:08:41 +02:00
2021-09-12 16:09:36 +02:00
2021-09-11 08:17:12 +02:00
2021-09-11 16:02:44 +02:00
2021-09-25 08:00:57 +02:00
2021-09-11 16:02:44 +02:00
2021-09-20 15:54:57 +02:00
2021-09-11 08:17:12 +02:00
2021-09-25 14:49:19 +02:00
2021-09-11 07:53:30 +02:00
2021-08-12 16:03:20 +02:00
2021-09-12 11:28:07 +02:00
2021-09-11 16:02:44 +02:00
2021-09-25 14:49:19 +02:00
2021-09-25 11:23:14 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 08:17:12 +02:00
2021-09-12 09:19:46 +02:00
2021-09-20 15:54:57 +02:00
2021-09-13 18:44:18 +02:00
2021-09-10 20:36:38 +02:00
2021-09-25 10:32:25 +02:00
2004-05-12 22:02:05 +00:00
2021-09-11 16:02:44 +02:00
2021-09-25 14:49:19 +02:00
2021-09-13 18:44:18 +02:00
2021-09-25 11:19:15 +02:00
2021-09-25 08:00:57 +02:00
2021-09-10 12:46:31 +02:00
2021-09-25 10:28:36 +02:00
2021-09-25 10:28:36 +02:00
2021-08-10 14:37:10 +02:00
2021-09-25 08:00:57 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 07:53:30 +02:00
2021-09-02 18:15:12 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 08:17:12 +02:00
2021-09-25 14:24:15 +02:00
2021-09-24 08:28:37 +02:00
2021-09-10 14:13:07 +02:00
2021-09-22 14:27:50 +02:00
2021-09-25 14:49:19 +02:00
2021-09-24 16:08:41 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 07:53:30 +02:00
2021-09-23 19:14:10 +02:00
2021-09-22 15:49:20 +02:00
2021-09-25 09:13:34 +02:00
2021-09-11 08:17:12 +02:00
2021-09-25 11:19:15 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 17:43:15 +02:00
2021-09-11 16:02:44 +02:00
2021-08-10 14:37:10 +02:00
2021-09-23 19:57:05 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-24 08:28:37 +02:00
2021-09-25 14:49:19 +02:00
2021-08-10 14:37:10 +02:00
2021-09-25 14:49:19 +02:00
2021-09-11 07:53:30 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 16:02:44 +02:00
2021-09-25 14:49:19 +02:00
2021-09-25 10:32:25 +02:00
2021-09-23 19:13:55 +02:00
2021-09-25 14:49:19 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 16:02:44 +02:00
2021-09-25 14:49:19 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-25 14:49:19 +02:00
2021-08-10 14:37:10 +02:00
2021-08-10 14:37:10 +02:00
2021-09-10 12:46:31 +02:00
2021-09-25 14:49:19 +02:00
2021-09-24 16:47:23 +02:00
2021-09-11 10:21:54 +02:00
2021-08-11 09:21:33 +02:00
2021-09-11 07:53:30 +02:00
2021-09-25 09:04:19 +02:00
2021-09-25 14:49:19 +02:00
2021-08-10 14:37:10 +02:00
2021-09-11 08:17:12 +02:00
2021-09-11 16:02:44 +02:00
2021-09-10 13:39:26 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 08:17:12 +02:00
2021-09-11 16:02:44 +02:00
2021-09-11 08:17:12 +02:00
2021-09-11 16:02:44 +02:00
2021-09-22 14:27:50 +02:00
2021-09-23 19:14:10 +02:00
2021-09-12 16:28:04 +02:00
2021-09-25 08:17:47 +02:00
2021-08-10 14:37:10 +02:00
2021-09-25 08:17:47 +02:00
2021-09-25 09:13:34 +02:00
2021-09-25 14:49:19 +02:00
2021-09-25 14:49:19 +02:00
2021-09-25 09:13:34 +02:00