projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git]
/
ircd
/
s_conf.c
diff --git
a/ircd/s_conf.c
b/ircd/s_conf.c
index 05cd7ce2b8e81a689cb835398401eb9a697495f9..276d4265b80d73654a9e093e2581b8febafe3c99 100644
(file)
--- a/
ircd/s_conf.c
+++ b/
ircd/s_conf.c
@@
-50,7
+50,6
@@
#include "s_debug.h"
#include "s_misc.h"
#include "send.h"
#include "s_debug.h"
#include "s_misc.h"
#include "send.h"
-#include "sprintf_irc.h"
#include "struct.h"
#include "support.h"
#include "sys.h"
#include "struct.h"
#include "support.h"
#include "sys.h"
@@
-882,7
+881,8
@@
void conf_add_deny(const char* const* fields, int count, int ip_kill)
else {
conf->bits = bits2;
}
else {
conf->bits = bits2;
}
- sprintf_irc(ipname, "%d.%d.%d.%d", ad[0], ad[1], ad[2], ad[3]);
+ ircd_snprintf(0, ipname, sizeof(ipname), "%d.%d.%d.%d", ad[0], ad[1],
+ ad[2], ad[3]);
/*
* This ensures endian correctness
/*
* This ensures endian correctness