|
|
@@ -1466,7 +1466,7 @@ static void cmd_botcmd(int idx, char *par)
|
|
|
/* the rest of the cmd will be logged remotely */
|
|
|
putlog(LOG_CMDS, "*", "#%s# botcmd %s %s ...", dcc[idx].nick, botm, cmd);
|
|
|
if (!strcmp(botm, "*")) {
|
|
|
- if (!strcmp(botm, "di") || !strcmp(botm, "die")) {
|
|
|
+ if (!strcmp(cmd, "di") || !strcmp(cmd, "die")) {
|
|
|
dprintf(idx, "Not a good idea.\n");
|
|
|
return;
|
|
|
} else if (!dcc[idx].user->flags & USER_OWNER) {
|