aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 5a71442..edd6d00 100644
--- a/cmd.c
+++ b/cmd.c
@@ -326,6 +326,7 @@ static void cmd_module __P1 (char *,arg) {
int pindex;
struct stat junk;
char *prefixes[] = {
+ PLUGIN_DIR,
".",
"/lib/powwow",
"/usr/lib/powwow",
@@ -337,7 +338,7 @@ static void cmd_module __P1 (char *,arg) {
/* I changed it to work this way so that you can have libs in multiple places and
* also eventually to allow it to use .dll instead of .so under the cygwin environment */
- for( pindex = 0; pindex < 4; pindex++ ) {
+ for( pindex = 0; pindex < 5; pindex++ ) {
bzero( libname, 1024 );
/* don't look for name without .so, it breaks if you have a file