0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

Make this work again.

This commit is contained in:
William Pitcock 2010-01-07 17:50:49 -06:00
parent f36d4fdd54
commit d4c273075e

View file

@ -235,7 +235,7 @@ parse_resv(struct Client *source_p, const char *name, const char *reason, int te
temp_time / 60, name);
}
else
bandb_add(BANDB_RESV, source_p, aconf->host, NULL, aconf->passwd, NULL, 0);
bandb_add(BANDB_RESV, source_p, aconf->name, NULL, aconf->passwd, NULL, 0);
}
else if(clean_resv_nick(name))
{
@ -288,7 +288,7 @@ parse_resv(struct Client *source_p, const char *name, const char *reason, int te
temp_time / 60, name);
}
else
bandb_add(BANDB_RESV, source_p, aconf->host, NULL, aconf->passwd, NULL, 0);
bandb_add(BANDB_RESV, source_p, aconf->name, NULL, aconf->passwd, NULL, 0);
}
else
sendto_one_notice(source_p, ":You have specified an invalid resv: [%s]", name);