Version 2.0034

1) Fixed yet another conflict between @Cregen@W mode and cexits.  This had better be
   the last one.  Seriously.
master
Durel 7 years ago
parent 2ec390f4dc
commit 89bae461c8

@ -1,6 +1,14 @@
dbot.changelog = {} dbot.changelog = {}
dbot.changelog[2.0034] =
{
{ change = drlDbotChangeLogTypeFix,
desc = [[Fixed yet another conflict between @Cregen@W mode and cexits. This is starting
to get embarassing...]]
}
}
dbot.changelog[2.0033] = dbot.changelog[2.0033] =
{ {
{ change = drlDbotChangeLogTypeFix, { change = drlDbotChangeLogTypeFix,

@ -89,7 +89,7 @@ dbot.version : Module to track version and changelog information and update the
save_state="y" save_state="y"
date_written="2017-08-12 08:45:15" date_written="2017-08-12 08:45:15"
requires="4.98" requires="4.98"
version="2.0033" version="2.0034"
> >
<description trim="y"> <description trim="y">
<![CDATA[ <![CDATA[
@ -612,7 +612,17 @@ Feature Wishlist
<alias <alias
script="inv.cli.regen.fn2" script="inv.cli.regen.fn2"
match="^[ ]*(sleep|slee|sle|sl)([ ]+[^ ]+)?[ ]*" match="^[ ]*(sleep[ ]*$|slee[ ]*$|sle[ ]*$|sl[ ]*$)"
enabled="y"
regexp="y"
send_to="12"
sequence="100"
>
</alias>
<alias
script="inv.cli.regen.fn2"
match="^[ ]*^[ ]*(sleep|slee|sle|sl)([ ]+[^ ]+)[ ]*$"
enabled="y" enabled="y"
regexp="y" regexp="y"
send_to="12" send_to="12"
@ -17686,11 +17696,9 @@ function inv.regen.onSleep(sleepLoc)
local retval = DRL_RET_SUCCESS local retval = DRL_RET_SUCCESS
local sleepCmd local sleepCmd = "sleep"
if (sleepLoc == nil) or (sleepLoc == "") then if (sleepLoc ~= nil) and (sleepLoc ~= "") then
sleepCmd = "sleep" sleepCmd = sleepCmd .. sleepLoc
else
sleepCmd = "sleep " .. sleepLoc
end -- if end -- if
if (inv.config.table.isRegenEnabled) then if (inv.config.table.isRegenEnabled) then
@ -17705,7 +17713,6 @@ function inv.regen.onSleep(sleepLoc)
end -- if end -- if
else else
dbot.info("FIXME DEBUG: sending sleep command \"" .. sleepCmd .. "\"")
check (Send(sleepCmd)) check (Send(sleepCmd))
end -- if end -- if

Loading…
Cancel
Save