@@ -788,7 +788,7 @@ void init_config()
int check_cmd_pass(const char *cmd, char *pass)
{
- if (check_master(pass))
+ if (check_master_hash(NULL, pass))
return 1;
struct cmd_pass *cp = NULL;
@@ -229,7 +229,7 @@ int u_pass_match(struct userrec *u, char *in)
if (!cmp || !pass || !pass[0] || (pass[0] == '-'))
return 0;
if (u->bot) {
if (!strcmp(cmp, pass))