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[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] =
{
{ change = drlDbotChangeLogTypeFix,

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

Loading…
Cancel
Save