Fix /getopt command to work, for those very rare occasions I need to debug what it's doing.

Mere [07-13-13 - 09:48]
Fix /getopt command to work, for those very rare occasions I need to debug what it's doing.

Also switch a globabl to local.
Filename
Libs/LibGetOpt/LibGetOpt.lua
diff --git a/Libs/LibGetOpt/LibGetOpt.lua b/Libs/LibGetOpt/LibGetOpt.lua
index 26bd73d..e9ff0f4 100644
--- a/Libs/LibGetOpt/LibGetOpt.lua
+++ b/Libs/LibGetOpt/LibGetOpt.lua
@@ -444,8 +444,8 @@ function GetOpt.getopt(options, args)
   return output
 end

-function GetOpt.slashcommand(args)
-  x = GetOpt.getopt("d#", args)
+function GetOpt.slashcommand(handler, args)
+  local x = GetOpt.getopt("d#", args)
   GetOpt.recent = x
   GetOpt.printf("version %s", GetOpt.Version)
   if x then