#include "ircd_log.h"
#include "ircd_reply.h"
#include "ircd_string.h"
+#include "jupe.h"
#include "list.h"
#include "match.h"
#include "msg.h"
struct ConfItem* aconf = 0;
struct ConfItem* cconf;
struct ConfItem* lhconf = 0;
+ struct Jupe* ajupe = 0;
int hop;
int ret;
int active_lh_line = 0;
return need_more_params(sptr, "SERVER");
return exit_client(cptr, cptr, &me, "Need more parameters");
}
- ircd_log(L_NOTICE, "SERVER: %s %s[%s]", parv[1], cptr->sockhost, cptr->sock_ip);
host = parv[1];
+
+ if ((ajupe = jupe_find(host)) && JupeIsActive(ajupe))
+ return exit_client_msg(cptr, sptr, &me, "Juped: %s", JupeReason(ajupe));
+
+ ircd_log(L_NOTICE, "SERVER: %s %s[%s]", parv[1], cptr->sockhost, cptr->sock_ip);
+
/*
* Detect protocol
*/
struct ConfItem* aconf = 0;
struct ConfItem* cconf;
struct ConfItem* lhconf = 0;
+ struct Jupe* ajupe = 0;
int hop;
int ret;
int active_lh_line = 0;
return exit_client(cptr, cptr, &me, "Need more parameters");
}
host = parv[1];
+
+ if ((ajupe = jupe_find(host)) && JupeIsActive(ajupe))
+ jupe_resend(cptr, ajupe);
+
/*
* Detect protocol
*/
struct ConfItem* aconf = 0;
struct ConfItem* cconf;
struct ConfItem* lhconf = 0;
+ struct Jupe* ajupe = 0;
int hop;
int ret;
int active_lh_line = 0;