summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 4063edf38..cdac83a24 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -544,7 +544,7 @@ void CommandParser::SetupCommandTable(User* user)
dirent* entry = NULL;
while (0 != (entry = readdir(library)))
{
- if (InspIRCd::Match(entry->d_name, "cmd_*.so", NULL))
+ if (InspIRCd::Match(entry->d_name, "cmd_*.so"))
{
if (!user)
{
@@ -565,6 +565,8 @@ void CommandParser::SetupCommandTable(User* user)
}
}
}
+ else
+ printf("NOT loading %s, not a cmd\n", entry->d_name);
}
closedir(library);
if (!user)