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:
parent
f36d4fdd54
commit
d4c273075e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue