]> jfr.im git - solanum.git/blobdiff - modules/m_restart.c
m_list: fail on invalid parameters
[solanum.git] / modules / m_restart.c
index 3910e299b1d136c826922233684ff0c5f0c72f82..3bdb1df2356d303eb023c70d7fc3a324f9371500 100644 (file)
@@ -94,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]);
 }