1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 21:03:13 +02:00

Merge protocol_debug() with the only place it's actually called.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1290 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-10-01 20:01:23 +00:00
parent 5d127f021d
commit 3872380d8c
3 changed files with 16 additions and 26 deletions
-22
View File
@@ -787,28 +787,6 @@ char *myStrSubString(const char *src, int start, int end)
/*************************************************************************/
void protocol_debug(char *source, char *cmd, int argc, const char **argv)
{
int i;
if (protocoldebug) {
if (source)
alog("debug: Source %s", source);
if (cmd)
alog("debug: Token %s", cmd);
if (argc) {
for (i = 0; i < argc; i++) {
alog("debug: av[%d] = %s", i, argv[i]);
}
} else {
alog("debug: av[0] = NULL");
}
}
return;
}
/*************************************************************************/
/**
* Clean up the buffer for extra spaces
* @param str to clean up