|
@@ -1263,7 +1263,7 @@ static void cmd_botcmd(int idx, char *par)
|
|
|
putlog(LOG_CMDS, "*", "#%s# botcmd %s %s ...", dcc[idx].nick, botm, cmd);
|
|
putlog(LOG_CMDS, "*", "#%s# botcmd %s %s ...", dcc[idx].nick, botm, cmd);
|
|
|
|
|
|
|
|
if (!strcmp(botm, "*")) {
|
|
if (!strcmp(botm, "*")) {
|
|
|
- if (!egg_strncasecmp(cmd, "di", 2) || !egg_strncasecmp(cmd, "res", 3) || !egg_strncasecmp(cmd, "sui", 3) ||
|
|
|
|
|
|
|
+ if (!egg_strncasecmp(cmd, "di", 2) || (!egg_strncasecmp(cmd, "res", 3) && egg_strncasecmp(cmd, "reset", 5)) || !egg_strncasecmp(cmd, "sui", 3) ||
|
|
|
!egg_strncasecmp(cmd, "j", 1)) {
|
|
!egg_strncasecmp(cmd, "j", 1)) {
|
|
|
dprintf(idx, "Not a good idea.\n");
|
|
dprintf(idx, "Not a good idea.\n");
|
|
|
return;
|
|
return;
|