diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-09 02:52:38 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-09 02:52:38 +0000 |
commit | b7d84f0b68ec15e80d2b69e63306e85443e24648 (patch) | |
tree | f3ed5119ce5c7606fafedc29a93b28e605ff34f9 /src/modules.c | |
parent | 04e2597df27393930796569a08ebda5e75ccfcad (diff) |
Remove moduleDataDebug().. debuggers are much more efficient at outputting crap than code is.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1610 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/modules.c b/src/modules.c index 7ccd4529c..3de81cec0 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1880,25 +1880,6 @@ void moduleDisplayHelp(int service, User * u) } /** - * Output module data information into the log file. - * This is a vwey "debug only" function to dump the whole contents - * of a moduleData struct into the log files. - * @param md The module data for the struct to be used - * @return 0 is always returned; - **/ -int moduleDataDebug(ModuleData ** md) -{ - ModuleData *current = NULL; - alog("Dumping module data...."); - for (current = *md; current; current = current->next) { - alog("Module: [%s]", current->moduleName); - alog(" Key [%s]\tValue [%s]", current->key, current->value); - } - alog("End of module data dump"); - return 0; -} - -/** * Add module data to a struct. * This allows module coders to add data to an existing struct * @param md The module data for the struct to be used @@ -1934,9 +1915,6 @@ int moduleAddData(ModuleData ** md, const char *key, char *value) newData->next = *md; *md = newData; - if (debug) { - moduleDataDebug(md); - } return MOD_ERR_OK; } |