summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-22 17:39:00 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-22 17:39:00 +0000
commitd92d9afa8d05d88da5f4fd08f0032eded83334e9 (patch)
tree6f7dd502fcf889b1997d0de1fe609c9c32281848 /src/command_parse.cpp
parent784105556de045a2250f68646ec5fd1caa3e1a73 (diff)
Match with the right args at least..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10218 e03df62e-2008-0410-955e-edbf42e46eb7
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)