|
|
@@ -4452,6 +4452,12 @@ void cmd_test(int idx, char *par)
|
|
|
void cmd_botlink(int idx, char *par)
|
|
|
{
|
|
|
putlog(LOG_CMDS, "*", "#%s# botlink %s", dcc[idx].nick, par);
|
|
|
+
|
|
|
+ if (!isowner(dcc[idx].hand)) {
|
|
|
+ dprintf(idx, "botlink is only available to permanent owners.\n");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
if (conf.bot->hub)
|
|
|
send_hubs(par, strlen(par));
|
|
|
else
|