summaryrefslogtreecommitdiff
path: root/src/chanserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chanserv.c')
-rw-r--r--src/chanserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chanserv.c b/src/chanserv.c
index 15c4df05e..831793927 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -741,7 +741,7 @@ void load_cs_dbase(void)
ci->levels = scalloc(2 * CA_SIZE, 1);
reset_levels(ci);
for (j = 0; j < n_levels; j++) {
- SAFE(read_int16(&tmp16));
+ SAFE(read_int16(&tmp16, f));
if (j < CA_SIZE)
ci->levels[j] = (int16) tmp16;
}