From 5b95f382a3ed5b48f31afd3433909e91aca8d341 Mon Sep 17 00:00:00 2001 From: Perry Lorier Date: Mon, 30 Oct 2000 09:45:17 +0000 Subject: [PATCH] Author: Isomer Log message: Fixed over aggressive cut and no paste in m_oper git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@304 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- ChangeLog | 3 +++ ircd/m_oper.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fa16d26..2a5a091 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2000-10-30 Isomer + * ircd/m_oper.c: Fixed over agressive cut and no paste + 2000-10-30 Isomer * ircd/m_topic.c: Restructured, fixed bug where topics on local diff --git a/ircd/m_oper.c b/ircd/m_oper.c index 60156db..b3d84e5 100644 --- a/ircd/m_oper.c +++ b/ircd/m_oper.c @@ -118,7 +118,7 @@ int oper_password_match(const char* to_match, const char* passwd) * passwd may be NULL. Head it off at the pass... */ if (to_match && passwd) { - encr = ircd_crypt(to_match, passwd); + char *encr = ircd_crypt(to_match, passwd); return (0 == strcmp(encr, passwd)); } return 0; -- 2.20.1