Skip to content

Commit

Permalink
Check if DLLs can be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Nov 16, 2010
1 parent cda8eee commit ced45bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plugins/Version_Check.xml
Expand Up @@ -10,7 +10,7 @@
purpose="Checks for a new version of MUSHclient"
date_written="2010-11-13 16:45:58"
requires="4.60"
version="1.4"
version="1.5"
>
<description trim="y">
<![CDATA[
Expand Down Expand Up @@ -163,6 +163,14 @@ function do_version_check ()
require "getlines"
require "movewindow"
if package.loaders [3] == nil or package.loadlib == nil then
ColourNote ("orange", "", GetPluginName () .. " cannot do version check.")
ColourNote ("orange", "", "You need to allow DLLs to be loaded.")
ColourNote ("orange", "", "You also need to trust this plugin.")
ColourNote ("orange", "", "See File Menu -> Global Preferences -> Lua")
return
end -- if
local http = require "socket.http"
SetStatus "Checking for latest MUSHclient version ..."
Expand Down

0 comments on commit ced45bb

Please sign in to comment.