#include "../control/control.h"
#include "../lib/irc_string.h"
#include "../localuser/localuserchannel.h"
+#include "../lib/version.h"
+
+MODULE_VERSION("");
#define LI_CLONEMAX 2
#define LI_KILL_MESSAGE "excess clones from your host"
li_killyoungest(hp->nicks);
} while (hp->clonecount > LI_CLONEMAX);
- registercontrolcmd("victims", 10, 0, li_stats);
+ registercontrolhelpcmd("victims", NO_OPER, 0, li_stats, "Usage: victims\nShows the amount of clients victimised by lameisp.");
registerhook(HOOK_NICK_NEWNICK, &li_nick);
}
controlreply((nick *)source, "Victims: %d clients", li_victims);
return CMD_OK;
-}
\ No newline at end of file
+}