X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/238a9ed590ea50b0e09f1390f6bc2551be1563ab..ea41b24fd4807e3565bf5f8f293e2efc4c20b62d:/modules/m_restart.c diff --git a/modules/m_restart.c b/modules/m_restart.c index cad6bd72..3bdb1df2 100644 --- a/modules/m_restart.c +++ b/modules/m_restart.c @@ -24,7 +24,6 @@ #include "stdinc.h" #include "client.h" -#include "common.h" #include "match.h" #include "ircd.h" #include "numeric.h" @@ -95,13 +94,6 @@ mo_restart(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *sour static void me_restart(struct MsgBuf *msgbuf_p __unused, struct Client *client_p __unused, struct Client *source_p, int parc, const char *parv[]) { - if(!find_shared_conf(source_p->username, source_p->host, source_p->servptr->name, SHARED_DIE)) - { - sendto_one_notice(source_p, ":*** You do not have an appropriate shared block to " - "remotely restart this server."); - return; - } - do_restart(source_p, parv[1]); }