X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/76169ea73407a2eba1e9051914708b28d256bea3..b2c208be091670e3c5259eba77187bae6ac6eece:/modules/m_oper.c diff --git a/modules/m_oper.c b/modules/m_oper.c index 96794a16..75167ae1 100644 --- a/modules/m_oper.c +++ b/modules/m_oper.c @@ -196,7 +196,7 @@ match_oper_password(const char *password, struct oper_conf *oper_p) else encr = password; - if(strcmp(encr, oper_p->passwd) == 0) + if(encr != NULL && strcmp(encr, oper_p->passwd) == 0) return YES; else return NO;