- Timestamp:
- 09/04/07 03:29:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ithildin-1.1/modules/ircd/commands/ping.c
r579 r811 32 32 } 33 33 34 /* sp is now set to our destination. cli is our origin. */ 34 /* sp is now set to our destination. cli is our origin. 35 * Note that in the first case we return whatever the client sends in 36 * argv[1] since some clients rely on this behavior. */ 35 37 if (sp == ircd.me) 36 38 sendto_one_target(cli, NULL, ircd.me, NULL, "PONG", "%s :%s", 37 ircd.me->name, cli->nick);39 ircd.me->name, argv[1]); 38 40 else 39 41 sendto_serv_from(sp, cli, NULL, NULL, "PING", "%s :%s", cli->nick, … … 52 54 return 0; 53 55 54 /* sp is now set to our destination. cliis our origin. */56 /* sp is now set to our destination. srv is our origin. */ 55 57 if (sp == ircd.me) 56 58 sendto_serv_from(srv, NULL, ircd.me, NULL, "PONG", "%s :%s",
Note: See TracChangeset
for help on using the changeset viewer.
