diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-22 02:31:23 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-22 02:31:23 +0000 |
commit | fb5d7d181578bcba25327dfd4c2d5727fa71ce33 (patch) | |
tree | fafebdfc364d887136587397d01d7431afc2a77a /src/process.c | |
parent | 16e667a2cecf9492954333fc7949b6636072f941 (diff) |
Properly initialized new objects when needed so they don't contain garbage data.
Also, converted line endings in os_ignore_db from CR+LF to LF.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index eb2d9bf62..43ea0cf77 100644 --- a/src/process.c +++ b/src/process.c @@ -58,8 +58,7 @@ void add_ignore(const char *nick, time_t delta) snprintf(tmp, sizeof(tmp), "*!%s", nick); mask = sstrdup(tmp); } - - /* We only got a nick.. */ + /* We only got a nick.. */ } else { snprintf(tmp, sizeof(tmp), "%s!*@*", nick); mask = sstrdup(tmp); |