コード例 #1
0
ファイル: plexus3.c プロジェクト: XxKryoxX/hybserv-to-anope
int
anope_event_ping (char *source, int ac, char **av)
{
  if (ac < 1)
    return MOD_CONT;
  plexus_cmd_pong (ac > 1 ? av[1] : ServerName, av[0]);
  return MOD_CONT;
}
コード例 #2
0
ファイル: plexus.c プロジェクト: danopia/denora
int denora_event_ping(char *source, int ac, char **av)
{
    if (denora->protocoldebug) {
        protocol_debug(source, ac, av);
    }
    if (ac < 1)
        return MOD_CONT;
    plexus_cmd_pong(ac > 1 ? av[1] : ServerName, av[0]);
    return MOD_CONT;
}